Skip to main content
PPrei
Associate
May 12, 2020
Question

error undefined reference to MX_BlueNRG_MS_init and Process.

  • May 12, 2020
  • 2 replies
  • 1129 views

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.

This topic has been closed for replies.

2 replies

Khouloud ZEMMELI
ST Employee
May 22, 2020

​Hello @PPrei​ 

could you please share your ioc file ?

Thanks

Khouloud

SJazo.1
Visitor II
July 5, 2020

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