Skip to main content
Associate II
March 20, 2025
Question

Disable Logging WPAN WBA5x

  • March 20, 2025
  • 4 replies
  • 2974 views

Hello,

I upgraded from CubeIDE 1.17 to 1.18 and from WBA 1.5.0 to 1.6.0 and now I get this error the following error. I have logging disabled in WPAN configuration and no IP selected for logs under platform settings tab.

../Core/Inc/app_conf.h:291:2: error: #error "ERROR : you need to indicate an (LP)UART for the Log on CubeMX."

if I comment out this #error line in aoo_conf.h, I get other errors:

../Projects/Common/WPAN/Interfaces/adv_trace_usart_if.c:73:3: error: 'LOG_UART_HANDLER' undeclared (first use in this function)

So there is some code generated which shouldnt be. There was no problem with this previously.

 

Best regards

4 replies

cvs_dkAuthor
Associate II
April 1, 2025

Hello, can anyone help me? Is it possible to use custom output function for BLE logs, like __io_putchar in newlib?

STTwo-32
Technical Moderator
April 1, 2025

Hello @cvs_dk 

Could you please send you.ioc file.

Best Regards.

STTwo-32

cvs_dkAuthor
Associate II
April 1, 2025

Hello @STTwo-32 

ioc attached.

 

Best regards

STTwo-32
Technical Moderator
April 3, 2025

Hello @cvs_dk 

To solve this issue, you need to set an (LP)UART interface for Serial Link: 

STTwo32_0-1743666923929.png

Best Regards.

STTwo-32

cvs_dkAuthor
Associate II
April 3, 2025

Hello, @STTwo-32 and thank you for response.

Yes I know that, but I don't want to (no uarts free). In CubeIDE 1.17 and WBA 1.5.0 It is not needed to set this, but in last version some code regarding logging is generated despite disabled logs in CubeMX.

STTwo-32
Technical Moderator
April 3, 2025

I've escalated a request internally (under internal ticket number 206702) to make this setting mandatory only if CFG_LOG_SUPPORTED is enabled. 

Best Regards.

STTwo-32

 

cvs_dkAuthor
Associate II
May 6, 2025

Hello @STTwo-32 

Are there any news regarding that matter?

Best regards