I am trying to compile optiboot.c for the Atmega1284p. Once I learn how to do it I want to make one small change to pins_defs.h and recompile.
I go into a DOS box with the source and type: make atmega1284
I get a half dozen lines pf progress reports and then the error message:
make (e=2): The system cannot find the file specified.
make: *** [optiboot.o] Error 2
Don't know where to go from here
Roger
Which IDE (version) are you using?
Arduino 1.0.5
also have Atmel Studio 6.1 installed
I also tried "mingw32-make" instead of "make" with same results
Roger
> omake ATmega1284
> ..\..\..\tools\avr\utils\bin\make OS=windows ENV=arduino ATmega1284
make: *** No rule to make target `ATmega1284'. Stop.
> omake ATmega1284P
> ..\..\..\tools\avr\utils\bin\make OS=windows ENV=arduino ATmega1284P
make: *** No rule to make target `ATmega1284P'. Stop.
> grep 1284 *
>
Two things...
- Are you using omake? According to the README.TXT that is what you are supposed to use under Windows.
- Have you obtained a fileset / make file, separate from the Arduino download, that has support for the 1284? There are no references to "1284" in the default fileset.
I am using the optiboot for Atmega1284 from maniacbug/mighty-1284p
oboot doesn't work but thanks to your hint I discovered that:
make OS=macosx ENV=arduino atmega1284
will compile
thank you,
Roger