diff options
| author | zyh <[email protected]> | 2018-09-02 12:35:09 +0800 |
|---|---|---|
| committer | zyh <[email protected]> | 2018-09-02 12:36:25 +0800 |
| commit | ab815cf3606746a6491b3bc0c5440217671997cf (patch) | |
| tree | 5cdf349cfa6279042b8790018402f55f5b1ed79d /bsp/samd21 | |
| parent | 2bd06ea44805ab5c6f66c3255ae5472e1eb977ab (diff) | |
[Bsp][stm32h743-nucleo] fix build error with gcc
Diffstat (limited to 'bsp/samd21')
| -rw-r--r-- | bsp/samd21/rtconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/samd21/rtconfig.py b/bsp/samd21/rtconfig.py index af3ca84f5d..2f2460e77b 100644 --- a/bsp/samd21/rtconfig.py +++ b/bsp/samd21/rtconfig.py @@ -44,7 +44,7 @@ if PLATFORM == 'gcc': OBJDUMP = PREFIX + 'objdump' OBJCPY = PREFIX + 'objcopy' - DEVICE = ' -mcpu=cortex-m0+ -mthumb -ffunction-sections -fdata-sections' + DEVICE = ' -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections' CFLAGS = DEVICE AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp' LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-MKL15Z128.map,-cref,-u,Reset_Handler -T MKL15Z128_FLASH.ld' |
