queezythegreat / arduino-cmake

Arduino CMake Build system
645 stars 216 forks source link

Bootloaders are looked for in the wrong place #149

Open galou opened 9 years ago

galou commented 9 years ago

Even when using register_arduino_platform, the bootloader search path is not the directory specified.

This leads to this error on Ubuntu

/usr/share/arduino/hardware/arduino/bootloaders/atmega644p/ATmegaBOOT_644P.hex
Missing bootloader image, not creating bootloader burn target blink_original-burn-bootloader

Even after using

register_hardware_platform(/home/gael/sketchbook/hardware/arbotix)

PS: Thanks for providing arduino-cmake, a great tool indeed!