Compiling G8 Firmware
Posted: Wed Jun 06, 2018 6:06 pm
I'd like to mess with the G8 firmware, but I'm not certain how to set up a proper development environment. At the moment winAVR exits with an error as follows:
Anybody see any obvious issues? Sorry, I'm very new to winAVR.
Code: Select all
C:\Users\Justin\Downloads\G8_Open_Firmware_A\G8 Open Firmware A>make -------- begin -------- avr-gcc (WinAVR 20100110) 4.3.3 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling C: g8.c avr-gcc -c -mmcu=atmega164a -I. -gdwarf-2 -DF_CPU=20000000UL -O2 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,- adhlns=./g8.lst -std=gnu99 -MMD -MP -MF .dep/g8.o.d g8.c -o g8.o g8.c:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'test' make: *** [g8.o] Error 1