summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2023-05-17 17:17:38 +0800
committerMan, Jianting (Meco) <[email protected]>2023-05-17 12:09:10 -0400
commit82ccbc40db1d81eb35efd35f915096ddeee3b2b9 (patch)
treebfd1f7f922aab312b1555bf41c8549e295a37c96 /components/drivers
parent48557de14897afb0965695d272d07f83f0b08c42 (diff)
support llvm-arm 16.0
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/spi/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/spi/SConscript b/components/drivers/spi/SConscript
index 27b7a8dd71..e84ed7bb06 100644
--- a/components/drivers/spi/SConscript
+++ b/components/drivers/spi/SConscript
@@ -29,7 +29,7 @@ if GetDepend('RT_USING_SFUD'):
if GetDepend('RT_SFUD_USING_SFDP'):
src_device += ['sfud/src/sfud_sfdp.c']
- if rtconfig.PLATFORM in ['gcc', 'armclang']:
+ if rtconfig.PLATFORM in ['gcc', 'armclang', 'llvm-arm']:
LOCAL_CFLAGS += ' -std=c99'
elif rtconfig.PLATFORM in ['armcc']:
LOCAL_CFLAGS += ' --c99'