mmoskal/uf2-stm32f103

Maple Mini build error

Opened this issue · 0 comments

Louis van Geldrop:

I want to build a version for the STM32F103CBT6 Maple Mini.

make TARGET=MAPLEMINI

However I do get the following error

CC dapboot.c
In file included from dapboot.c:22:0:
uf2.h:24:21: error: 'FLASH_SIZE_OVERRIDE' undeclared here (not in a function)
#define MAX_BLOCKS (FLASH_SIZE_OVERRIDE / 256 + 100)
^
uf2.h:28:25: note: in expansion of macro 'MAX_BLOCKS'
uint8_t writtenMask[MAX_BLOCKS / 8 + 1];
^
make[1]: *** [build/MAPLEMINI/dapboot.o] Fout 1
make: *** [dapboot-maplemini.bin] Fout 2