Use --specs=nano.specs to enable newlib-nano
Saves 1.6KiB flash. Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch> License: MIT
This commit is contained in:
@@ -76,7 +76,8 @@ LINKER_FLAGS=-Wl,--gc-sections \
|
|||||||
-mcpu=cortex-m3 \
|
-mcpu=cortex-m3 \
|
||||||
-mthumb \
|
-mthumb \
|
||||||
-mfloat-abi=soft \
|
-mfloat-abi=soft \
|
||||||
-lm -Os -flto -Wl,--undefined=vTaskSwitchContext
|
-lm -Os -flto -Wl,--undefined=vTaskSwitchContext \
|
||||||
|
--specs=nano.specs
|
||||||
|
|
||||||
# compiler flags ---------------------------------------------------------------
|
# compiler flags ---------------------------------------------------------------
|
||||||
CPUFLAGS=-D GCC_ARMCM3 \
|
CPUFLAGS=-D GCC_ARMCM3 \
|
||||||
|
|||||||
Reference in New Issue
Block a user