2025-03-19 11:14 PM - edited 2025-03-19 11:17 PM
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
2025-04-01 12:07 AM
Hello, can anyone help me? Is it possible to use custom output function for BLE logs, like __io_putchar in newlib?
2025-04-01 1:49 AM
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.
2025-04-01 3:23 AM
2025-04-03 12:56 AM
Hello @cvs_dk
To solve this issue, you need to set an (LP)UART interface for Serial Link:
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.
2025-04-03 1:07 AM
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.
2025-04-03 1:59 AM
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.