You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If using the Arduino-Makefile with the above mentioned IDE plus adding an extra board using the "board admin" GUI, the makefile does not set correct include paths.
The problem (?) is that the IDE does not add new boards to the default boards.txt file, instead it is located as shown below for the Blend Micro board:
username@sekenani:/opt/home/username/.arduino15/packages/RedBearLab/hardware/avr/1.0.2> pwd
/opt/home/username/.arduino15/packages/RedBearLab/hardware/avr/1.0.2
username@sekenani:/opt/home/username/.arduino15/packages/RedBearLab/hardware/avr/1.0.2> ls
boards.txt bootloaders platform.txt variants
If I now set the BOARDS_TXT to point to the new location, the makefile failes to set correct include paths.
If I dont set the BOARDS_TXT, the BOARD_TAG, e.g: blendmicro8 is not found since the board configuration is not in the arduinofolder/hardware/arduino/avr folder.
Arne
The text was updated successfully, but these errors were encountered:
yes boards mangler puts the boards in the wrong place. if you put them in ~/sketchbook/hardware then it works fine, for example the adafruit boards package:
Does board mangler put its config in any of the config files in ./arduino15 ? If so maybe it has location for boards that are downloaded - which can be used in the Makefile? :)
as i recall it puts various files in ~/.arduino15/staging, potentially you could plug those paths into BOARDS_TXT, ALTERNATE_CORE_PATH etc. see also #400
Hi
Nice work with the makefile for arduino!
If using the Arduino-Makefile with the above mentioned IDE plus adding an extra board using the "board admin" GUI, the makefile does not set correct include paths.
The problem (?) is that the IDE does not add new boards to the default boards.txt file, instead it is located as shown below for the Blend Micro board:
username@sekenani:/opt/home/username/.arduino15/packages/RedBearLab/hardware/avr/1.0.2> pwd
/opt/home/username/.arduino15/packages/RedBearLab/hardware/avr/1.0.2
username@sekenani:/opt/home/username/.arduino15/packages/RedBearLab/hardware/avr/1.0.2> ls
boards.txt bootloaders platform.txt variants
If I now set the BOARDS_TXT to point to the new location, the makefile failes to set correct include paths.
If I dont set the BOARDS_TXT, the BOARD_TAG, e.g: blendmicro8 is not found since the board configuration is not in the arduinofolder/hardware/arduino/avr folder.
Arne
The text was updated successfully, but these errors were encountered: