MembersPage/GergelyLezsak/FirmWare (2005-07-22 22:01:19)

Firmware

Since I need to have customized code for IAC, tried to compile new firmware. This is not so easy in windows.

There's a great howto at MembersPage/JohanEriksson/VerThreeFirmForDummies but I have problems with "make"

When I try "make all" from cmd.exe:

echo "runme from sh shell, win32 cmd is broken, dies with CreateProcess error"

"runme from sh shell, win32 cmd is broken, dies with CreateProcess error"

avr-gcc -c -O3 -g -Wall -Wstrict-prototypes -Wa,-ahlms=vems.lst -D GENBOARDv3 -D

FETDRIVER_INVERTING -D LCD -D LCD_4x20 -D PS2KEYBOARD -D BENCHMARK -D CELSIUS -

D VE_TABLE_FIX -D MSNS -D WBO2 -D VE_SIZE_RPM=12 -D VE_SIZE_KPA=12 -D MISC1OUT -

D MISC2OUT -D KPA_CONFIG_RESOLUTION=1 -D KPAFAC_UNIT=2 -D ALS -D ALLOW_SLOPPY_TO

OTHWHEEL -mmcu=atmega128 -DF_CPU=16E6 -I. vems.c -o vems.o

process_begin: CreateProcess((null), avr-gcc -c -O3 -g -Wall -Wstrict-prototypes

-Wa,-ahlms=vems.lst -D GENBOARDv3 -D FETDRIVER_INVERTING -D LCD -D LCD_4x20 -D

PS2KEYBOARD -D BENCHMARK -D CELSIUS -D VE_TABLE_FIX -D MSNS -D WBO2 -D VE_SIZE_R

PM=12 -D VE_SIZE_KPA=12 -D MISC1OUT -D MISC2OUT -D KPA_CONFIG_RESOLUTION=1 -D KP

AFAC_UNIT=2 -D ALS -D ALLOW_SLOPPY_TOOTHWHEEL -mmcu=atmega128 -DF_CPU=16E6 -I. v

ems.c -o vems.o, ...) failed.

make (e=2): The system cannot find the file specified.

make: *** [vems.o] Error 2

I get the same from cygwin's sh.exe, and in sh.exe from unxutils

My suspicion is that it's not the sh/cmd version that causes the problem but the version of make. Earlier the issue might have been misundentified, when the different path of sh seemed to solve the problem.

So check what make-s you have and run each to see how they behave.