Add usart dev cmds & dynamic flash support capability

This commit is contained in:
Philippe Teuwen
2019-05-03 22:30:17 +02:00
parent 8e2d5370f9
commit 3176684f4a
18 changed files with 185 additions and 205 deletions

View File

@@ -14,12 +14,16 @@ ifeq ($(PLTNAME),)
ifeq ($(PLATFORM),)
PLATFORM=PM3RDV4
else
${info using saved PLATFORM '$(PLATFORM)'}
${info using saved PLATFORM: '$(PLATFORM)'}
endif
ifneq ($(PLATFORM_EXTRAS),)
${info using saved PLATFORM_EXTRAS: '$(PLATFORM_EXTRAS)'}
endif
include ../common/Makefile.hal
$(info ===================================================================)
$(info PLATFORM: $(PLATFORM))
$(info Platform name: $(PLTNAME))
$(info PLATFORM: $(PLATFORM))
$(info PLATFORM_EXTRAS: $(PLATFORM_EXTRAS))
$(info Included options: $(PLATFORM_DEFS_INFO))
$(info Standalone mode: $(PLATFORM_DEFS_INFO_STANDALONE))
$(info ===================================================================)
@@ -56,7 +60,7 @@ else
SRC_SMARTCARD =
endif
ifneq (,$(findstring WITH_FPC,$(APP_CFLAGS)))
ifneq (,$(findstring WITH_FPC_USART,$(APP_CFLAGS)))
SRC_FPC = usart.c
else
SRC_FPC =