adafruit/tinyuf2

STM32F4 board: stm32f411ce_blackpill wont compile (SOLVED)

Rulaman opened this issue · 4 comments

Operating System

Linux

INFO_UF2.TXT

-none-

What happened ?

Cannot compile the board as in the tilte described

How to reproduce ?

.../tinyuf2$ python3 tools/get_deps.py stm32f4
.../tinyuf2$ python3 tools/get_deps.py --board stm32f411ce_blackpill
.../tinyuf2/ports/stm32f4$ make BOARD=stm32f411ce_blackpill all

Debug Log

AS startup_stm32f411xe.o
CC ghostfat.o
CC images.o
CC main.o
.../tinyuf2/src/main.c:33:10: fatal error: tusb.h: No such file or directory
33 | #include "tusb.h"
| ^~~~~~~~
compilation terminated.
make: *** [../rules.mk:92: _build/stm32f411ce_blackpill/obj/src/main.o] Error 1

Screenshots

No response

In the compile description there is simply a line missing.

git submodule update --init --recursive

Execute this command from the directory, where the repo has been cloned.

no, you need to run, it is mentioned in the readme

python tools/get_deps.py stm32f4

ah you are right, let me update the doc