cancel
Showing results for 
Search instead for 
Did you mean: 

X CUBE BLE1 for STM32CubeMX Sensor Demo not compiling

dpgregory
Associate II

I have followed this tutorial: https://www.youtube.com/watch?v=eiknW5Ml9dA and also downloaded the code from here: https://my.st.com/content/my_st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-ble1.html but I am getting build errors:

/SensorDemo/Debug/../Core/Src/main.c:90: undefined reference to `MX_BlueNRG_MS_Init'

/SensorDemo/Debug/../Core/Src/main.c:101: undefined reference to `MX_BlueNRG_MS_Process'

Core/Src/stm32f4xx_it.o: In function `EXTI0_IRQHandler':

/SensorDemo/Debug/../Core/Src/stm32f4xx_it.c:212: undefined reference to `hexti0'

As far as I can see, the includes are correct and can even navigate to the file with ctrl-click on the undefined reference.

I am pretty new to this hardware, so probably a newbie error somewhere, but spent an hour or so on it already!

I am using a NUCLEO-F411RE board.

0 REPLIES 0