cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Logging WPAN WBA5x

cvs_dk
Associate II

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

6 REPLIES 6
cvs_dk
Associate II

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

Hello @cvs_dk 

Could you please send you.ioc file.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

cvs_dk
Associate II

Hello @STTwo-32 

ioc attached.

 

Best regards

STTwo-32
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

cvs_dk
Associate II

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.

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

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.