make -C ../../../bootloader BOARD=PAPILIO_PLUS SIZE=16384 DEFINES="-D__S3E_250__ -DBOARD_ID=0xA4030E00 -DBOARD_MEMORYSIZE=0x4000" make[1]: Entering directory `/mnt/scratch/ZPUino-HDL/zpu/hdl/zpuino/bootloader' zpu-elf-g++ -O2 -fno-gcse -Wall -mno-callpcrel -fdata-sections -ffunction-sections -I../common -D__ZPUINO_PAPILIO_PLUS__ -D__S3E_250__ -DBOARD_ID=0xA4030E00 -DBOARD_MEMORYSIZE=0x4000 -fno-exceptions -c -o boot.o boot.cpp In file included from ../common/zpuino.h:1, from boot.cpp:1: ../common/register.h:9:33: board_papilio_plus.h: No such file or directory In file included from boot.cpp:1: ../common/zpuino.h: In function `volatile unsigned int* outputRegisterForPin(unsigned int)': ../common/zpuino.h:5: error: `IOBASE' undeclared (first use this function) ../common/zpuino.h:5: error: (Each undeclared identifier is reported only once for each function it appears in.) ../common/zpuino.h:5: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) ../common/zpuino.h: In function `volatile unsigned int* inputRegisterForPin(unsigned int)': ../common/zpuino.h:10: error: `IOBASE' undeclared (first use this function) ../common/zpuino.h:10: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) ../common/zpuino.h: In function `volatile unsigned int* modeRegisterForPin(unsigned int)': ../common/zpuino.h:15: error: `IOBASE' undeclared (first use this function) ../common/zpuino.h:15: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) ../common/zpuino.h: In function `volatile unsigned int* PPSmodeRegisterForPin(unsigned int)': ../common/zpuino.h:20: error: `IOBASE' undeclared (first use this function) ../common/zpuino.h:20: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) ../common/zpuino.h: In function `void outputPinForFunction(int, int)': ../common/zpuino.h:63: error: `IOBASE' undeclared (first use this function) ../common/zpuino.h:63: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) ../common/zpuino.h: In function `void inputPinForFunction(int, int)': ../common/zpuino.h:67: error: `IOBASE' undeclared (first use this function) ../common/zpuino.h:67: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: At global scope: boot.cpp:70: error: `SPIOFFSET' was not declared in this scope boot.cpp:71: error: `SPIOFFSET' was not declared in this scope boot.cpp:72: error: `SPIOFFSET' was not declared in this scope boot.cpp:76: error: `CLK_FREQ' was not declared in this scope boot.cpp:77: error: `CLK_FREQ' was not declared in this scope boot.cpp:78: error: `CLK_FREQ' was not declared in this scope boot.cpp:79: error: `CLK_FREQ' was not declared in this scope boot.cpp: In function `void flush()': boot.cpp:92: error: `IOBASE' undeclared (first use this function) boot.cpp:92: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `void sendByte(unsigned int)': boot.cpp:138: error: `IOBASE' undeclared (first use this function) boot.cpp:138: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `void prepareSend()': boot.cpp:155: error: `IOBASE' undeclared (first use this function) boot.cpp:155: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `void finishSend()': boot.cpp:162: error: `IOBASE' undeclared (first use this function) boot.cpp:162: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `unsigned int inbyte()': boot.cpp:181: error: `IOBASE' undeclared (first use this function) boot.cpp:181: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `void enableTimer()': boot.cpp:208: error: `IOBASE' undeclared (first use this function) boot.cpp:208: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp:208: error: `CLK_FREQ' undeclared (first use this function) boot.cpp: In function `void outbyte(int)': boot.cpp:224: error: `IOBASE' undeclared (first use this function) boot.cpp:224: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `void spi_disable(volatile unsigned int*)': boot.cpp:231: error: `SPI_FLASH_SEL_PIN' undeclared (first use this function) boot.cpp: In function `void spi_enable()': boot.cpp:236: error: `SPI_FLASH_SEL_PIN' undeclared (first use this function) boot.cpp: In function `void spiwrite(unsigned int)': boot.cpp:256: error: `IOBASE' undeclared (first use this function) boot.cpp:256: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `unsigned int spiread()': boot.cpp:262: error: `IOBASE' undeclared (first use this function) boot.cpp:262: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `unsigned int start_read_size(volatile unsigned int*)': boot.cpp:287: error: `SPIOFFSET' undeclared (first use this function) boot.cpp: In function `void spi_copy_impl()': boot.cpp:309: error: `IOBASE' undeclared (first use this function) boot.cpp:309: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp:324: error: `SPIOFFSET' undeclared (first use this function) boot.cpp: In function `void _zpu_interrupt()': boot.cpp:410: error: `IOBASE' undeclared (first use this function) boot.cpp:410: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `int spi_read_status()': boot.cpp:429: error: `IOBASE' undeclared (first use this function) boot.cpp:429: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `unsigned int spi_read_id()': boot.cpp:447: error: `IOBASE' undeclared (first use this function) boot.cpp:447: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `void cmd_raw_send_receive(unsigned char*)': boot.cpp:498: error: `IOBASE' undeclared (first use this function) boot.cpp:498: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `void cmd_sst_aai_program(unsigned char*)': boot.cpp:540: error: `IOBASE' undeclared (first use this function) boot.cpp:540: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp:538: warning: unused variable 'count' boot.cpp:539: warning: unused variable 'txcount' boot.cpp:540: warning: unused variable 'spidata' boot.cpp: In function `void cmd_set_baudrate(unsigned char*)': boot.cpp:604: error: `IOBASE' undeclared (first use this function) boot.cpp:604: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `void cmd_enterpgm(unsigned char*)': boot.cpp:663: error: `IOBASE' undeclared (first use this function) boot.cpp:663: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `void cmd_start(unsigned char*)': boot.cpp:678: error: `IOBASE' undeclared (first use this function) boot.cpp:678: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp:684: error: `SPIOFFSET' undeclared (first use this function) boot.cpp: In function `void processCommand(unsigned char*, unsigned int)': boot.cpp:714: error: `IOBASE' undeclared (first use this function) boot.cpp:714: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `void configure_pins()': boot.cpp:773: error: `FPGA_PIN_FLASHCS' undeclared (first use this function) boot.cpp: In function `int loadsketch(unsigned int, unsigned int)': boot.cpp:800: error: `IOBASE' undeclared (first use this function) boot.cpp:800: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp: In function `int main(int, char**)': boot.cpp:825: error: `IOBASE' undeclared (first use this function) boot.cpp:825: error: `IO_SLOT_OFFSET_BIT' undeclared (first use this function) boot.cpp:825: error: `CLK_FREQ' undeclared (first use this function) boot.cpp:846: error: `BOARD_SPI_DIVIDER' undeclared (first use this function) make[1]: *** [boot.o] Error 1 make[1]: Leaving directory `/mnt/scratch/ZPUino-HDL/zpu/hdl/zpuino/bootloader' make: *** [prom-generic-dp-32.vhd] Error 2