Skip to main content
RGili.1
Associate
Mar 29, 2021 10:41 AM UTC
Solved

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

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.
Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
Mar 29, 2021 3:40 PM UTC

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
Mar 29, 2021 10:43 AM UTC

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
Mar 29, 2021 10:46 AM UTC

Yes, using updated versions

Cube IDE Version: 1.6.0

CubeMX Version: 6.2.0-RC3

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
Mar 29, 2021 3:40 PM UTC

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 2:33 PM UTC

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
Mar 29, 2021 3:57 PM UTC

Yes, problem solved disabling MX_Subghz_init function visibility.

​

Thank you!

​

​

​

​