cancel
Showing results for 
Search instead for 
Did you mean: 

error undefined reference to MX_BlueNRG_MS_init and Process.

PPrei
Associate II

I created new project with 32L152Discovery and additional Software STM X-CUBE-BLE1 5.0.0;

After build I have a error "undefined reference to MX_BlueNRG_MS_init and Process.

But in my project there are all files.

2 REPLIES 2
Khouloud ZEMMELI
ST Employee

​Hello @PPrei​ 

could you please share your ioc file ?

Thanks

Khouloud

SJazo.1
Associate

Hi,

Apparently there is a bug when CubeMX or CubeIDE generates the BlueNRG code, the source folder is excluded from compilation by default.

You just need to include it and rebuild your project:

0693W000001sA5hQAE.jpg

0693W000001sA5cQAE.jpg