diff options
| author | Bernard Xiong <[email protected]> | 2018-09-03 14:00:23 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-09-03 14:00:23 +0800 |
| commit | 1ae80486241d4f276cf9dee8edcdfd05f7f4566a (patch) | |
| tree | 700a9d6fd1e3044bd1c1d5ccb57d29f1fbad340c /bsp/samd21/rtconfig.py | |
| parent | e166da9961693c87475bd1ed3deb5e8cab31f5ed (diff) | |
| parent | c18ff69ed6e1017b7cbd2663f22422cec4c3f6b9 (diff) | |
Merge pull request #1765 from uestczyh222/stm32h743-nucleo
[Bsp][stm32h743-nucleo] fix build error with gcc
Diffstat (limited to 'bsp/samd21/rtconfig.py')
| -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' |
