diff --git a/bsp/stm32f10x/rtconfig.py b/bsp/stm32f10x/rtconfig.py index 20a843ba40059c85c98c92f262c581ec420a65d4..4ebbb68aab2dc4be6306185cbd6e20cb435c81ab 100644 --- a/bsp/stm32f10x/rtconfig.py +++ b/bsp/stm32f10x/rtconfig.py @@ -79,6 +79,7 @@ elif PLATFORM == 'armcc': AFLAGS = DEVICE LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-stm32.map --scatter stm32_rom.sct' + CFLAGS += ' --c99' CFLAGS += ' -I' + EXEC_PATH + '/ARM/RV31/INC' LFLAGS += ' --libpath ' + EXEC_PATH + '/ARM/RV31/LIB' diff --git a/bsp/stm32f10x/template.uvproj b/bsp/stm32f10x/template.uvproj index 9304eff62a5847bf72938532c4cf4fed28bf5b3a..acb78f690293b2611f24d69b94390145b788fd67 100644 --- a/bsp/stm32f10x/template.uvproj +++ b/bsp/stm32f10x/template.uvproj @@ -347,6 +347,7 @@ 0 0 0 + 1 diff --git a/bsp/stm32f10x/template.uvprojx b/bsp/stm32f10x/template.uvprojx index c6aff7241a0ccd10b659ec208b51e31e4c428b1c..0d439a6b71ffe3c4a7e8c751b4a3dd638981829f 100644 --- a/bsp/stm32f10x/template.uvprojx +++ b/bsp/stm32f10x/template.uvprojx @@ -350,6 +350,7 @@ 0 0 0 + 1