Настройка VScode PlatformIO для "старого" загрузчика Arduino Nano |
![]() |
Добавил(а) microsin |
Столкнулся с проблемой: платка Arduino Nano v4.0 в среде Arduino IDE 2.3.5 прошивается нормально, если выбрать в меню Tools -> Processor: "ATmega328P (Old Bootloader)". Но в среде VScode PlatformIO прошивка не работает. Загрузчик не отвечает, в консоли терминала видны ошибки: ... Configuring upload protocol... AVAILABLE: arduino CURRENT: upload_protocol = arduino Looking for upload port... Auto-detected: COM10 Uploading .pio\build\miniatmega328\firmware.hex Как исправить: откройте файл platformio.ini и добавьте туда строчку upload_speed = 57600: ; PlatformIO Project Configuration File ; ; Build options: build flags, source filter ; Upload options: custom upload port, speed and extra flags ; Library options: dependencies, extra library storages ; Advanced options: extra scripting ; ; Please visit documentation for the other options and examples ; https://docs.platformio.org/page/projectconf.html [Ссылки] 1. PlatformIO upload options site:docs.platformio.org. |