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.hTHe 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=8000000LHowever, 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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login