summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorshuobatian <[email protected]>2021-01-13 21:55:25 +0800
committershuobatian <[email protected]>2021-01-13 21:55:25 +0800
commited28e65b7e57eb2e08509df4a194a97f6d2c6c16 (patch)
treeb0ae6abf814db29ff2df42e03e0b62df243b8aaa /bsp
parent7018a5c297ec812c5e7ae2c8ba891c5733bee64a (diff)
防止字符转义
Diffstat (limited to 'bsp')
-rw-r--r--bsp/stm32/stm32l475-atk-pandora/rtconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32/stm32l475-atk-pandora/rtconfig.py b/bsp/stm32/stm32l475-atk-pandora/rtconfig.py
index 3b9f456d47..386d34feb9 100644
--- a/bsp/stm32/stm32l475-atk-pandora/rtconfig.py
+++ b/bsp/stm32/stm32l475-atk-pandora/rtconfig.py
@@ -73,7 +73,7 @@ elif PLATFORM == 'armcc':
DEVICE = ' --cpu Cortex-M4.fp '
CFLAGS = '-c ' + DEVICE + ' --apcs=interwork --c99'
AFLAGS = DEVICE + ' --apcs=interwork '
- LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rt-thread.map --strict --scatter "board\linker_scripts\link.sct"'
+ LFLAGS = DEVICE + r' --info sizes --info totals --info unused --info veneers --list rt-thread.map --strict --scatter "board\linker_scripts\link.sct"'
CFLAGS += ' -I' + EXEC_PATH + '/ARM/ARMCC/include'
LFLAGS += ' --libpath=' + EXEC_PATH + '/ARM/ARMCC/lib'
@@ -111,7 +111,7 @@ elif PLATFORM == 'armclang':
AFLAGS = DEVICE + ' --apcs=interwork '
LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers '
LFLAGS += ' --list rt-thread.map '
- LFLAGS += ' --strict --scatter "board\linker_scripts\link.sct" '
+ LFLAGS += r' --strict --scatter "board\linker_scripts\link.sct" '
CFLAGS += ' -I' + EXEC_PATH + '/ARM/ARMCLANG/include'
LFLAGS += ' --libpath=' + EXEC_PATH + '/ARM/ARMCLANG/lib'