Closed
Description
RT-Thread Version
master
Hardware Type/Architectures
rt-spark
Develop Toolchain
MDK Keil
Describe the bug
bsp rt-spark:
打开lvgl之后,keil编译器,执行scons --target=mdk5
之后
当前templete用的是AC6,
ArmClang: error: unsupported option '--c99'
ArmClang: error: unsupported option '--gnu'; did you mean '-fgnu'?
Other additional context
packages\LVGL-v8.3.11\env_support\rt-thread\SConscript
if rtconfig.PLATFORM == 'gcc' or rtconfig.PLATFORM == 'armclang': # GCC or Keil AC6
LOCAL_CFLAGS += ' -std=c99'
elif rtconfig.PLATFORM == 'armcc': # Keil AC5
LOCAL_CFLAGS += ' --c99 --gnu'
Keil AC6,这里没有能识别到。
Metadata
Assignees
Labels
No labels