mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-21 15:41:41 +08:00
Keep --c99 flag and append MDK5 building notification.
This commit is contained in:
@@ -39,7 +39,9 @@ Support GCC, MDK5, IAR IDE/compilers. More information of these compiler version
|
|||||||
| IAR | 8.32 |
|
| IAR | 8.32 |
|
||||||
| GCC | GCC 6.3.1 20170620 (Need update env) |
|
| GCC | GCC 6.3.1 20170620 (Need update env) |
|
||||||
|
|
||||||
Notice: Please install Nu-Link_Keil_Driver or Nu-Link_IAR_Driver for development.
|
Notice:
|
||||||
|
(1) Please install Nu-Link_Keil_Driver or Nu-Link_IAR_Driver for development.
|
||||||
|
(2) You must remove '--c99' flag in <path/to/rtt>/components/drivers/spi/SConscript before generating MDK5 project file.
|
||||||
|
|
||||||
## 3. Program firmware
|
## 3. Program firmware
|
||||||
### Step 1:
|
### Step 1:
|
||||||
|
@@ -28,7 +28,7 @@ if GetDepend('RT_USING_SFUD'):
|
|||||||
if rtconfig.CROSS_TOOL == 'gcc':
|
if rtconfig.CROSS_TOOL == 'gcc':
|
||||||
LOCAL_CCFLAGS += ' -std=c99'
|
LOCAL_CCFLAGS += ' -std=c99'
|
||||||
elif rtconfig.CROSS_TOOL == 'keil':
|
elif rtconfig.CROSS_TOOL == 'keil':
|
||||||
LOCAL_CCFLAGS += ' '
|
LOCAL_CCFLAGS += ' --c99'
|
||||||
|
|
||||||
src += src_device
|
src += src_device
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user