Posted on

platform-io常用Arduino板型设置

在VSCode里使用platform-io开发arduino程序

[env:uno]
platform = atmelavr
board = uno
framework = arduino
upload_port = COM7

[env:pro16MHzatmega328]
platform = atmelavr
board = pro16MHzatmega328
framework = arduino

[env:megaatmega2560]
platform = atmelavr
board = megaatmega2560
framework = arduino

[env:nanoatmega328]
platform = atmelavr
board = nanoatmega328
framework = arduino

[env:leonardo]
platform = atmelavr
board = leonardo
framework = arduino

[env:esp01_1m]
platform = espressif8266_stage
board = esp01_1m
framework = arduino