|
@@ -44,7 +44,7 @@ if PLATFORM == 'gcc':
|
|
|
SIZE = PREFIX + 'size'
|
|
|
OBJDUMP = PREFIX + 'objdump'
|
|
|
OBJCPY = PREFIX + 'objcopy'
|
|
|
- DEVICE = ' -mthumb -mcpu=cortex-m0 -ffunction-sections -fdata-sections'
|
|
|
+ DEVICE = ' -mthumb -mcpu=cortex-m0 -ffunction-sections -fdata-sections -Wall'
|
|
|
CFLAGS = DEVICE
|
|
|
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb '
|
|
|
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-lpc43xx.map,-cref,-u,Reset_Handler -T rtthread-lpc43xx.ld'
|