error when using MAKE to generate a new atmega2560 Hex file

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

MAKE was working fine until this morning ...

I used it to create a new version of the ATmega2560 bootloader.

 

now I receive error message from MAKE when using the makefile.mak and  stk500boot.c in the arduino\hardware\arduino\avr\bootloaders\stk500v2 folder.

 

message is :  make (e=2)  the system can not find the file specified

                   make:  ***  [gccvesion] error 2

 

I re-installed  a new version of MAKE ( ming32 )  .. same results.

 

I am using WINDOWS-7, and just re-loaded the Arduino IDE 1.8.2

I am trying to re-generate a new Hex file for my own mega2560 12Mhz design.

 

checked System properties - advanced- Environment Variables -System Variables  ..

and added the path to include the \bootloaders\stk500v2 folder ...

no change.

 

there is something very basic that I am missing ... since nothing I corrects the problem.

 

Make is being executed  correctly .. so how do I find out what file is missing ...?

 

tried explicit:  MAKE -f makefile with -d ( debug) 

 

getting message  :  .... No implicit rule found for 'makefile'

 

any help will be appreciated.

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sounds like you may have installed something else that provides a different version of make that is perhaps listed first on your PATH ? Try "where":

C:\>where make.exe
C:\SysGCC\avr\bin\make.exe

That will show the one that is actually being found/executed.