yoos/tricopter — Issue #2: Properly include avr-libc files in Makefile.
Author: yoos
Created: 2011-11-02 08:20:57+00:00
State: open

Running make in flightcode with a default install of avr-libc returns the following error:

/usr/lib/gcc/avr/4.5.1/../../../../avr/include/avr/pgmspace.h:944:38: error: 'uint_farptr_t' has not been declared

I've been editing pgmspace.h to #include "../inttypes.h" instead of #include , but this is a hack. There is probably a Makefile configuration I'm missing.