mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-24 02:59:01 +08:00
Fix nRF51 compiler flag for GCC
PUBLISHED_FROM=f8b4e8650d72c2ec5525e0510fbc8a80f8645a14
This commit is contained in:
parent
76bb35d5db
commit
7f2bdc217a
@ -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
|
||||
|
@ -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" */
|
||||
|
Loading…
Reference in New Issue
Block a user