Nick: N2 E-mail: none Board: unknown Contents: pi@raspberrypi:~/frser-duino $ make mega2560 make clean make[1]: Entering directory '/home/pi/frser-duino' rm -f frser-duino.bin rm -f frser-duino.out rm -f frser-duino.hex rm -f frser-duino.s rm -f *.o make[1]: Leaving directory '/home/pi/frser-duino' DFLAGS= FRBAUD=115200 MMCU=atmega2560 make all make[1]: Entering directory '/home/pi/frser-duino' avr-gcc -mmcu=atmega2560 -DBAUD=115200 -Os -fno-inline-small-functions -fno-tree-switch-conversion -frename-registers -g -Wall -W -pipe -flto -fwhole-program -std=gnu99 -Ilibfrser -std=gnu99 -I. -o frser-duino.out main.c uart.c spihw.c libfrser/frser.c libfrser/udelay.c libfrser/spilib.c libfrser/spihw_avrspi.c In file included from uart.c:22:0: uart.h:33:28: error: ‘RAMSTART’ undeclared here (not in a function) #define RAM_BYTES_ (RAMEND-RAMSTART+1) ^ uart.h:35:22: note: in expansion of macro ‘RAM_BYTES_’ #define UART_BUFLEN (RAM_BYTES_/2) ^ uart.c:30:37: note: in expansion of macro ‘UART_BUFLEN’ static uint8_t volatile uart_rcvbuf[UART_BUFLEN]; ^ uart.c:30:25: warning: ‘uart_rcvbuf’ defined but not used [-Wunused-variable] static uint8_t volatile uart_rcvbuf[UART_BUFLEN]; ^ In file included from libfrser/frser.c:22:0: ./uart.h:33:28: error: ‘RAMSTART’ undeclared here (not in a function) #define RAM_BYTES_ (RAMEND-RAMSTART+1) ^ ./uart.h:35:22: note: in expansion of macro ‘RAM_BYTES_’ #define UART_BUFLEN (RAM_BYTES_/2) ^ libfrser/frser.c:31:23: note: in expansion of macro ‘UART_BUFLEN’ #define UART_RBUFLEN (UART_BUFLEN-4) ^ libfrser/frser.c:119:45: note: in expansion of macro ‘UART_RBUFLEN’ const char PROGMEM ca_serbuf[3] = { S_ACK, (UART_RBUFLEN)&0xFF, (UART_RBUFLEN>>8)&0xFF }; ^ Makefile:62: recipe for target 'frser-duino.out' failed make[1]: *** [frser-duino.out] Error 1 make[1]: Leaving directory '/home/pi/frser-duino' Makefile:108: recipe for target 'mega2560' failed make: *** [mega2560] Error 2 pi@raspberrypi:~/frser-duino $