PlatformIO Community

Sparkfun ProMicro - Burn bootloader


I try burn bootloader on custom board based on promicro, but receive this:

(Using arduino nano as icsp)

Processing sparkfun_promicro16 (platform: atmelavr; board: sparkfun_promicro16; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
PLATFORM: Atmel AVR (4.0.0) > SparkFun Pro Micro 5V/16MHz
HARDWARE: ATMEGA32U4 16MHz, 2.50KB RAM, 28KB Flash
DEBUG: Current (simavr) On-board (simavr)
 - framework-arduino-avr @ 5.1.0
 - toolchain-atmelavr @ 1.70300.191015 (7.3.0)
LDF: Library Dependency Finder ->
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 13 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Error: missing bootloader configuration!

platformio.ini is:

platform = atmelavr
board = sparkfun_promicro16
framework = arduino

board_build.mcu = atmega32u4
board_build.f_cpu = 16000000L

board_fuses.hfuse = 0xD6
board_fuses.lfuse = 0xFF
board_fuses.efuse = 0x05

upload_protocol = stk500v1
; each flag in a new line
upload_flags =

; edit these lines
upload_port = COM8
upload_speed = 19200

Any idea? Regards

This is because sparkfun_promicro16.json doesn’t have any bootloader information in it, in contrast to e.g. uno.json. Please open an issue at Issues · platformio/platform-atmelavr · GitHub and use the Arduino IDE to burn the bootloader in the meantime.