Compiling G8 Firmware

Confess your sins here. Prayers optional.

Moderators: Kent, BrotherTheo

Post Reply
User avatar
Mochi_Stryper
Learning to Wiggle
Posts: 25
Joined: Fri Jan 27, 2017 2:52 pm

Compiling G8 Firmware

Post by Mochi_Stryper » 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:

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
Anybody see any obvious issues? Sorry, I'm very new to winAVR.

Post Reply

Return to “Circuit Abbey”