I had a little free time today, so tried out the bootloader burning functionality of PlatformIO with an Atmega328.
I put my file in [project directory]/Bootloader/[bootloader file].hex
And I am pretty sure I am following the instructions here:
When I open a new terminal in the project directory and issue this command:
platformio run --target bootloader
I get “Error: Couldn’t find bootloader image”
platform = atmelavr
board = Supervisor_8mhz
framework = arduino
upload_protocol = atmelice_isp
upload_flags = -e
board_bootloader.file = /Bootloader/Supervisor_8mhz_bootloader.hex
I have checked that the path the the hex file is correct a few times, and I tried an absolute path too… Does anyone out there ALSO have some free time today to tell me what I am doing wrong?
Thanks for reading!