Skip to content

[Bug][KEIL] LVGL package c99 in keil #9931

Closed
@supperthomas

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions