Skip to main content
RGili.1
Associate
March 29, 2021
Solved

STM32WL55JC undefined reference to `MX_SUBGHZ_Init' its STM32 Cube MX generated code and giving this error.

  • March 29, 2021
  • 6 replies
  • 2944 views

0693W000008yA61QAE.png 

If I click in the error it navigates me to #define RADIO_INIT               MX_SUBGHZ_Init, but no function is created by CubeMX.

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

Hello @RGili.1​ 

You need to disable the MX_Subghz_init function visibility ( under Project Manager - Advanced Settings ) to avoid this error.

Please re-check and tell me if problem was solved or not.

Thanks, Khouloud

6 replies

Khouloud ZEMMELI
ST Employee
March 29, 2021

Hello @RGili.1​ 

Thanks for your feedback,

Are you using the latest Cube versions? if yes, could you please share your ioc file to check your case?

Thanks, Khouloud

RGili.1
RGili.1Author
Associate
March 29, 2021

Yes, using updated versions

Cube IDE Version: 1.6.0

CubeMX Version: 6.2.0-RC3

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
March 29, 2021

Hello @RGili.1​ 

You need to disable the MX_Subghz_init function visibility ( under Project Manager - Advanced Settings ) to avoid this error.

Please re-check and tell me if problem was solved or not.

Thanks, Khouloud

andreaspiezia9
Associate III
May 11, 2021

Hi Khouloud ZEMMELI,

can you explain, please, why it's needed to disable function visibility?

What is a problem to keep visibility enabled?

Thanks a lot.

RGili.1
RGili.1Author
Associate
March 29, 2021

Yes, problem solved disabling MX_Subghz_init function visibility.

​

Thank you!

​

​

​

​