Skip to content

Commit 802a2a0

Browse files
committed
Keep --c99 flag and append MDK5 building notification.
1 parent 47a23a9 commit 802a2a0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bsp/nuvoton/numaker-m2354/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ Support GCC, MDK5, IAR IDE/compilers. More information of these compiler version
3939
| IAR | 8.32 |
4040
| GCC | GCC 6.3.1 20170620 (Need update env) |
4141

42-
Notice: Please install Nu-Link_Keil_Driver or Nu-Link_IAR_Driver for development.
42+
Notice:
43+
(1) Please install Nu-Link_Keil_Driver or Nu-Link_IAR_Driver for development.
44+
(2) You must remove '--c99' flag in <path/to/rtt>/components/drivers/spi/SConscript before generating MDK5 project file.
4345

4446
## 3. Program firmware
4547
### Step 1:

components/drivers/spi/SConscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if GetDepend('RT_USING_SFUD'):
2828
if rtconfig.CROSS_TOOL == 'gcc':
2929
LOCAL_CCFLAGS += ' -std=c99'
3030
elif rtconfig.CROSS_TOOL == 'keil':
31-
LOCAL_CCFLAGS += ' '
31+
LOCAL_CCFLAGS += ' --c99'
3232

3333
src += src_device
3434

0 commit comments

Comments
 (0)