mirror of https://github.com/ARMmbed/mbed-os.git
fixes to NRF51822 GCC template
parent
6e585609af
commit
24ea3bcafa
|
@ -23,7 +23,7 @@ CPU = -mcpu=cortex-m0 -mthumb
|
|||
CC_FLAGS = $(CPU) -c -g -fno-common -fmessage-length=0 -Wall -fno-exceptions -ffunction-sections -fdata-sections
|
||||
CC_SYMBOLS = {% for s in symbols %}-D{{s}} {% endfor %}
|
||||
|
||||
LD_FLAGS = -mcpu=cortex-m0 -mthumb -Wl,--gc-sections --specs=nano.specs -u _printf_float -u _scanf_float
|
||||
LD_FLAGS = -mcpu=cortex-m0 -mthumb -Wl,--wrap=main --specs=nano.specs -u _printf_float -u _scanf_float
|
||||
LD_SYS_LIBS = -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
|
|
Loading…
Reference in New Issue