pill_blink icon indicating copy to clipboard operation
pill_blink copied to clipboard

opencm: `make all` fails with ld error

Open vatrat opened this issue 1 year ago • 0 comments

Running make all after manually cloning libopencm3 via git submodule update --init, the following error presents:

arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -nostartfiles -Llibopencm3/lib -Wl,-T,bluepill.ld -o pill_blink.elf pill_blink.o -lopencm3_stm32f1 -lc -lnosys
/opt/arm-gnu-toolchain-12.3/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld: cannot open linker script file libopencm3_stm32f1.ld: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:13: pill_blink.elf] Error 1

vatrat avatar Oct 21 '23 02:10 vatrat