Pages: [1]   Go Down
Author Topic: rebuild Mighty 1284P bootloader  (Read 709 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 78
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, all readers.
I want to rebuild the bootloader,
I have put the files in the ‘hardware’ off my sketches directory. (XP)
But on the <make atmega1284> i have errors about missing path
make <e=3>  error 3,

Thx
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6367
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have AVR tools (eg WinAVR) installed?
You'd have to take some extra effort to use the Arduino-included tools, because they won't end up in your path unless you put them there.
Optiboot has some makefile modifications to allow builds using the Arduino toolset, but you'd still need a command like:
     ..\..\..\tools\avr\utils\bin\make OS=windows ENV=arduino atmega1284
(or use the provided "omake.bat atmega1284")
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 78
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Placing the files in the sketch/hardware dir, gives error, even with omake.
Placing the files in de arduino/hardware dir, then omake works, but the hex files is different from the org files in from git




Logged

Seattle, WA
Offline Offline
God Member
*****
Karma: 7
Posts: 673
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You will definitely get HEX files that are different.  The HEX from github is compiled with gcc 4.6.3 (I think) or 4.7.0.  It's safe to assume you're using a different version.  So the output will be different.  Should still work if it compiled without errors.
Logged


Pages: [1]   Go Up
Jump to: