1. 修改keil路径
2.增加MCU型号宏定义
3. 在ENV界面输入
scons -c
scons --target=mdk4
4. 编译
scons --verbose
提示错误
Warning: L6310W: Unable to find ARM libraries.
Error: L6411E: No compatible library exists with a definition of startup symbol __main.
Finished: 0 information, 1 warning and 1 error messages.
scons: *** [rtthread-gd32f4xx.axf] Error 1
scons: building terminated because of errors.
问题待查。