Adding new board definitions to arduino 1.6
-
I'm trying to create a new board definition file for the micro board, so it's easier for others to compile things specifically to this board.
But It seems that I am missing something, as I keep getting the following error now:
sketch_feb24a.ino:1:21: fatal error: Arduino.h: No such file or directory compilation terminated.
(It's just the default empty sketch that I'm trying to compile)
I have created the following structure under my arduino folder
hardware\ ->MySensors\ ->avr\ ->boards.txt platform.txt (copy from main arduino dir) programmers.txt (empty file) variants\ ->Micro\ ->pins_arduino.h
THe above was made partially with info from https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
boards.txt contains the following
MySensorsMicro.name=MySensors MicroMySensorsMicro.upload.tool=arduino:avrdude MySensorsMicro.upload.protocol=arduino MySensorsMicro.upload.maximum_size=30720 MySensorsMicro.upload.maximum_data_size=2048 MySensorsMicro.upload.speed=57600 MySensorsMicro.bootloader.tool=arduino:avrdude MySensorsMicro.bootloader.unlock_bits=0x3F MySensorsMicro.bootloader.lock_bits=0x0F MySensorsMicro.bootloader.low_fuses=0xFF MySensorsMicro.bootloader.high_fuses=0xDA MySensorsMicro.bootloader.extended_fuses=0x05 MySensorsMicro.bootloader.file=atmega/ATmegaBOOT_168_atmega328.hex MySensorsMicro.build.board=AVR_MICRO8 MySensorsMicro.build.core=arduino MySensorsMicro.build.variant=micro MySensorsMicro.build.mcu=atmega328p MySensorsMicro.build.f_cpu=8000000L
However, it doesn't work at all.. As mentioned before, It can't find the arduino.h file, and I can't figure out why..
Is there anyone else that has a bit more knowledge about boards definition in the newest arduino 1.6, that could help out?
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
PJON and Minicore not working
Development • 8 days ago • Trand 8 days ago -
Home Assistant/MySensors quirks
Development • 12 days ago • OldSurferDude 12 days ago -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07