Problem compiling gateway firmware

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem compiling gateway firmware

SteveG
Trying to compile the gateway code but get the following error, any help would be much appreciated:
 
Arduino: 1.6.9 (Windows 10), Board: "Mighty 1284p 16MHz using Optiboot"

Warning: Board maniacbug-mighty-1284p:maniacbug-mighty-1284p-68ed99c:bobuino doesn't define a 'build.board' preference. Auto-set to: MANIACBUG-MIGHTY-1284P-68ED99C_BOBUINO
Warning: Board maniacbug-mighty-1284p:maniacbug-mighty-1284p-68ed99c:mighty_opt doesn't define a 'build.board' preference. Auto-set to: MANIACBUG-MIGHTY-1284P-68ED99C_MIGHTY_OPT
Warning: Board maniacbug-mighty-1284p:maniacbug-mighty-1284p-68ed99c:avr_developers doesn't define a 'build.board' preference. Auto-set to: MANIACBUG-MIGHTY-1284P-68ED99C_AVR_DEVELOPERS
Warning: Board maniacbug-mighty-1284p:maniacbug-mighty-1284p-68ed99c:mighty doesn't define a 'build.board' preference. Auto-set to: MANIACBUG-MIGHTY-1284P-68ED99C_MIGHTY
Warning: Board maniacbug-mighty-1284p:maniacbug-mighty-1284p-68ed99c:mighty8 doesn't define a 'build.board' preference. Auto-set to: MANIACBUG-MIGHTY-1284P-68ED99C_MIGHTY8
WARNING: Spurious .github folder in 'Adafruit HTU21DF Library' library
WARNING: Spurious .github folder in 'ArduinoJson' library
recipe.preproc.macros pattern is missing

Error compiling for board Mighty 1284p 16MHz using Optiboot.
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling gateway firmware

vysocan
Administrator
It looks like you did not import correctly the 1284p boards.

Do you have folder "mighty-1284p" in your ../arduino-1.6.9/hardware/ ?
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling gateway firmware

SteveG
This post was updated on .
Yes, files installed under the 'hardware' folder in my sketches folder as per instructions (tried reinstalling a few times but makes no difference). I can see the list of new boards in the Arduino IDE so it's finding it OK, then I selected "Mighty 1284p 16MHz using Optiboot" and tried to compile and got the error.

My sketches folder is  C:\Users\Steve\OneDrive\Documents\Gateway and the 1284p boards are installed as shown below:

Directory: C:\Users\Steve\OneDrive\Documents\Gateway\hardware\maniacbug-mighty-1284p\maniacbug-mighty-1284p-68ed99c

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       17/03/2018     12:26                bootloaders
d-----       17/03/2018     12:26                cores
d-----       17/03/2018     12:26                variants
-a----       17/03/2018     14:59             30 .gitignore
-a----       17/03/2018     14:59           3229 boards.txt
-a----       17/03/2018     14:59           1857 README.md

Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling gateway firmware

vysocan
Administrator
I use following https://github.com/JChristensen/mighty-1284p/tree/v1.6.3

There are installation steps you should follow. I'm not sure if you put it correctly in your Arduino folder. It looks like you followed some old installation steps, and put it in your sketch folder?
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling gateway firmware

SteveG
I downloaded the board driver from the link you provided and it solved the problem (the installation was OK but I think I had a old version of the driver). I got the original board driver from the link on the 'Compiling' page on the OHS web site so it might be helpful if this page could be updated.

It compiles Ok now, thanks for your help.
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling gateway firmware

vysocan
Administrator
Thanks for update I'll change it.

I actually plan to move to newest Arduino IDE and I want to document it in blog post. But I have not had time yet.
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling gateway firmware

vysocan
Administrator
Hello,

just posted complete guide how to make environment for latest Arduino IDE. https://openhomesecurity.blogspot.cz/p/blog-page.html

There are not too many steps to follow. Let me know if you try it and it works for you.
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling gateway firmware

SteveG
Works OK - thanks.