From 47a23a93f50ce469064593f756c705400f74bfbc Mon Sep 17 00:00:00 2001 From: Wayne Lin Date: Mon, 8 Feb 2021 11:52:38 +0800 Subject: [PATCH] [spi/SConscript] armclang doesn't support --c99 option. --- components/drivers/spi/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/spi/SConscript b/components/drivers/spi/SConscript index e19f30861f..c5d845891e 100644 --- a/components/drivers/spi/SConscript +++ b/components/drivers/spi/SConscript @@ -28,7 +28,7 @@ if GetDepend('RT_USING_SFUD'): if rtconfig.CROSS_TOOL == 'gcc': LOCAL_CCFLAGS += ' -std=c99' elif rtconfig.CROSS_TOOL == 'keil': - LOCAL_CCFLAGS += ' --c99' + LOCAL_CCFLAGS += ' ' src += src_device