PlatformIO Community

Sparkfun ProMicro - Burn bootloader

Hello,

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
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/sparkfun_promicro16.html
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)
PACKAGES:
 - framework-arduino-avr @ 5.1.0
 - toolchain-atmelavr @ 1.70300.191015 (7.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
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:

[env:sparkfun_promicro16]
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 =
    -P$UPLOAD_PORT
    -b$UPLOAD_SPEED
    -F

; 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.