防止字符转义

This commit is contained in:
shuobatian 2021-01-13 21:55:25 +08:00
parent 7018a5c297
commit ed28e65b7e
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ elif PLATFORM == 'armcc':
DEVICE = ' --cpu Cortex-M4.fp ' DEVICE = ' --cpu Cortex-M4.fp '
CFLAGS = '-c ' + DEVICE + ' --apcs=interwork --c99' CFLAGS = '-c ' + DEVICE + ' --apcs=interwork --c99'
AFLAGS = DEVICE + ' --apcs=interwork ' 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' CFLAGS += ' -I' + EXEC_PATH + '/ARM/ARMCC/include'
LFLAGS += ' --libpath=' + EXEC_PATH + '/ARM/ARMCC/lib' LFLAGS += ' --libpath=' + EXEC_PATH + '/ARM/ARMCC/lib'
@ -111,7 +111,7 @@ elif PLATFORM == 'armclang':
AFLAGS = DEVICE + ' --apcs=interwork ' AFLAGS = DEVICE + ' --apcs=interwork '
LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers ' LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers '
LFLAGS += ' --list rt-thread.map ' 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' CFLAGS += ' -I' + EXEC_PATH + '/ARM/ARMCLANG/include'
LFLAGS += ' --libpath=' + EXEC_PATH + '/ARM/ARMCLANG/lib' LFLAGS += ' --libpath=' + EXEC_PATH + '/ARM/ARMCLANG/lib'