Fix nRF51 compiler flag for GCC

PUBLISHED_FROM=f8b4e8650d72c2ec5525e0510fbc8a80f8645a14
This commit is contained in:
Dmitry Frank 2016-11-04 19:52:46 +02:00 committed by Cesanta Bot
parent 76bb35d5db
commit 7f2bdc217a
2 changed files with 2 additions and 1 deletions

View File

@ -142,7 +142,7 @@ CFLAGS += -DCS_ENABLE_STDIO
CFLAGS += -DENABLE_DEBUG_LOG_SUPPORT
# Mongoose flags
CFLAGS += -DCS_PLATFORM=CS_P_NRF52 $(MG_FEATURES_TINY) -DMG_MODULE_LINES
CFLAGS += -DCS_PLATFORM=CS_P_NRF51 $(MG_FEATURES_TINY) -DMG_MODULE_LINES
# keep every function in separate section. This will allow linker to dump unused functions
LDFLAGS += -Xlinker -Map=$(LISTING_DIRECTORY)/$(OUTPUT_FILENAME).map

View File

@ -103,6 +103,7 @@
/* Amalgamated: #include "common/platforms/platform_cc3200.h" */
/* Amalgamated: #include "common/platforms/platform_cc3100.h" */
/* Amalgamated: #include "common/platforms/platform_mbed.h" */
/* Amalgamated: #include "common/platforms/platform_nrf51.h" */
/* Amalgamated: #include "common/platforms/platform_nrf52.h" */
/* Amalgamated: #include "common/platforms/platform_wince.h" */
/* Amalgamated: #include "common/platforms/platform_nxp_lpc.h" */