|
@@ -66,7 +66,8 @@ if PLATFORM == 'gcc':
|
|
|
STRIP = PREFIX + 'strip'
|
|
|
|
|
|
ARCH_ABI = ' -mcmodel=medlow '
|
|
|
- CFLAGS = ARCH_ABI + ' -DUSE_NONVECTOR_MODE=1 ' + ' -ffunction-sections -fdata-sections -fno-common '
|
|
|
+ DEVICE = ARCH_ABI + ' -DUSE_NONVECTOR_MODE=1 ' + ' -ffunction-sections -fdata-sections -fno-common '
|
|
|
+ CFLAGS = DEVICE
|
|
|
AFLAGS = CFLAGS
|
|
|
LFLAGS = ARCH_ABI + ' --specs=nano.specs --specs=nosys.specs -u _printf_float -u _scanf_float -nostartfiles -Wl,--gc-sections '
|
|
|
|