Fix nRF51 compiler flag for GCC

PUBLISHED_FROM=f8b4e8650d72c2ec5525e0510fbc8a80f8645a14
This commit is contained in:
Dmitry Frank authored and Cesanta Bot committed 2016-11-04 18:05:42 +00:00
1 parent 76bb35d5db
commit 7f2bdc217a
2 files changed
+2 -1

No files matched your search

@@ -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
+1
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" */