diff options
| author | guozhanxin <[email protected]> | 2021-12-22 00:39:08 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2021-12-22 13:03:05 +0800 |
| commit | a5f6fdc780d55f2bf2a1624815879e15c51082b5 (patch) | |
| tree | 2b6c18c4f220e7ce124be0ead2cd3080d3668bf9 /components/drivers | |
| parent | f20eef99db5ef5a499e4af71275a73a7eedcca41 (diff) | |
add clang-arm support.
Diffstat (limited to 'components/drivers')
| -rw-r--r-- | components/drivers/spi/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/spi/SConscript b/components/drivers/spi/SConscript index d6cb93f7f1..da14ed5fef 100644 --- a/components/drivers/spi/SConscript +++ b/components/drivers/spi/SConscript @@ -25,7 +25,7 @@ if GetDepend('RT_USING_SFUD'): CPPPATH += [cwd + '/sfud/inc'] if GetDepend('RT_SFUD_USING_SFDP'): src_device += ['sfud/src/sfud_sfdp.c'] - if rtconfig.CROSS_TOOL == 'gcc': + if rtconfig.CROSS_TOOL == 'gcc' or rtconfig.CROSS_TOOL == 'clang': LOCAL_CCFLAGS += ' -std=c99' elif rtconfig.CROSS_TOOL == 'keil': if rtconfig.PLATFORM == 'armcc': |
