CHG: the thread comms refactoring from offical pm3 repo

chg: FPC com speed limited to 115200 when compiled with FPC
chg: USART remake (@drandreas)
This commit is contained in:
Chris
2018-09-06 21:43:20 +02:00
parent eb0b5116a2
commit 24eaac8681
45 changed files with 915 additions and 949 deletions

View File

@@ -82,7 +82,7 @@ else
endif
# RDV40 flag enables flashmemory commands in client. comment out if you don't have rdv40
CFLAGS += -DWITH_FLASH -DWITH_SMARTCARD
CFLAGS += -DWITH_FLASH -DWITH_SMARTCARD -DWITH_FPC
# Flags to generate temporary dependency files
DEPFLAGS = -MT $@ -MMD -MP -MF $(OBJDIR)/$*.Td
@@ -94,7 +94,8 @@ CORESRCS = uart_posix.c \
ui.c \
util.c \
util_posix.c \
scandir.c
scandir.c \
comms.c
CMDSRCS = crapto1/crapto1.c \
crapto1/crypto1.c \