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