Hi everyone, I'm trying to implement the vl53l0x driver on RIOT. To have a
simple working scenario I'm trying to flash an example using stlinkV2 and
the bluepill (STM32F103xx) and I can't make the 'flash' and 'debug' targets
work. Can someone give me a hint on how to make it work?

"make QUIET=0 BOARD=bluepill-128kib all" works fine.

Also when wanting to blink a led, the build says...
.../gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld:
.../riot/examples/hello-world/bin/bluepill-128kib/stm32_vectors/vectors_f1.o:
in function `dummy_handler':
...riot/cpu/stm32/vectors/vectors_f1.c:27: multiple definition of
`dummy_handler';
.../riot/examples/hello-world/bin/bluepill-128kib/stm32_vectors/STM32F103xB.o:.../riot/cpu/stm32/vectors/STM32F103xB.c:14:
first defined here
...gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld:
.../riot/examples/hello-world/bin/bluepill-128kib/stm32_vectors/vectors_f1.o:.../riot/cpu/stm32/vectors/vectors_f1.c:87:
multiple definition of `vector_cpu';
...riot/examples/hello-world/bin/bluepill-128kib/stm32_vectors/STM32F103xB.o:/.../riot/cpu/stm32/vectors/STM32F103xB.c:57:
first defined here

I know my stlink works as "st-flash --reset write
bin/bluepill/tests_xtimer_msg_receive_timeout.bin 0x08000000" works fine.

Thanks for your help! :)
_______________________________________________
users mailing list
users@riot-os.org
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to