Hello,
I recently ordered custom boards with STM32WB55CGU6 from online suppliers. Now before receiving those boards I thought I could implement the program for them. I have been able to build the program with BME280 stuff, but now when adding BLE advertising the build fails. I am wondering if I’m using the correct library meant for this or if there could be some other issues I don’t understand. The error I get when adding BLE stuff to the code and trying to build is:
Linking .pio\build\savi\firmware.elf
lto-wrapper.exe: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper.exe: note: see the '-flto' option documentation for more information
c:/users/jawsn/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\jawsn\AppData\Local\Temp\ccLH9XLe.ltrans0.ltrans.o: in function `main':
<artificial>:(.text.startup+0x49c): undefined reference to `BLE'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\savi\firmware.elf] Error 1
Here you can find complete code: