method one
The official can download, install and use
Second way
Using RT-the Thread env tool, which integrates tools scons
env tool configuration
Open the Settings
Add to context menu
Use scons generate mdk5 project
> scons --target=mdk5
Compiled using scons
> scons