PlatformIO+GD32
PlatformIO+GD32
想要对GD32进行开发,需要在PlatformIO中添加GD32的芯片支持,GD32官方支持库存在于Github,原文如下:
See example projects at https://github.com/CommunityGD32Cores/gd32-pio-projects.
The platform can be installed manually using
pio platform install https://github.com/CommunityGD32Cores/platform-gd32.git
on the CLI. This is done automatically when compiling one of the example projects.
需要在PlatformIO终端内执行如下命令:
pio platform install https://github.com/CommunityGD32Cores/platform-gd32.git
vscode中打开终端的方法为:
cmd+shift+p
打开命令窗口- 输入
PlatformIO: Open PlatformIO Core CLI
- 在打开的终端中执行上述命令