2023-04-02 02:57 PM
Solved! Go to Solution.
2023-04-03 06:03 AM
If you look in the project I sent this function is defined in the main.c.
It means that you probably disabled in MX the USART1 that is needed to communicate back with the PC.
Just rectify your main.c and add the the USART/CRC/GPIO init from the ones I sent in the project.
Regards
2023-04-03 01:49 AM
Here is a System Performance project for the B-U585I-IOT02A as a reference.
Maybe your network was not understood by X-CUBE-AI that causes code generation issues.
Regards
2023-04-03 05:55 AM
This is the code snippet in app_x-cube-ai.c file which is throwing an error. It says undefined reference to `MX_USART1_UART_Init'. Can you please explain how to solve it?
2023-04-03 06:03 AM
If you look in the project I sent this function is defined in the main.c.
It means that you probably disabled in MX the USART1 that is needed to communicate back with the PC.
Just rectify your main.c and add the the USART/CRC/GPIO init from the ones I sent in the project.
Regards
2024-12-11 07:39 PM
same error with me , for some reason in the main.c the MX_USART1_UART_Init(void) function was declared as static , limiting its visibility to only the main.c file , so the app_x-cube-ai.c file cannot see it