diff options
Diffstat (limited to 'bsp/microchip/same54/rtconfig.py')
| -rw-r--r-- | bsp/microchip/same54/rtconfig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/microchip/same54/rtconfig.py b/bsp/microchip/same54/rtconfig.py index 289cea31ed..61f9e4cc1a 100644 --- a/bsp/microchip/same54/rtconfig.py +++ b/bsp/microchip/same54/rtconfig.py @@ -51,7 +51,7 @@ if PLATFORM == 'gcc': DEVICE = ' -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -mlong-calls' CFLAGS = DEVICE + ' -Dgcc' AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb ' - LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T bsp/gcc/gcc/same54p20a_flash.ld' + LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rt-thread-' + DEVICE_PART + '.map,-cref,-u,Reset_Handler -T bsp/gcc/gcc/same54p20a_flash.ld' CPATH = '' LPATH = '' @@ -65,5 +65,5 @@ if PLATFORM == 'gcc': CXXFLAGS = CFLAGS CFLAGS += ' -std=c99' - POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n' + POST_ACTION = OBJCPY + ' -O binary $TARGET rt-thread-' + DEVICE_PART + '.bin\n' + SIZE + ' $TARGET \n' |
