summaryrefslogtreecommitdiff
path: root/bsp/samd21/rtconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/samd21/rtconfig.py')
-rw-r--r--bsp/samd21/rtconfig.py2
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'