‎2023-03-20 06:11 AM
Hi,
I'm running STM32Cube 1.11.2 under Ubuntu 22.04
While I can compile the TCP_Echo_Client_PPP example with no issue, I can't do the same with TCP_Echo_Client.
The compilation issue is the tx_thread_schedule.s has undefined references to _tx_thread_secure_stack_context_save, _tx_thread_secure_stack_context_restore, _tx_thread_secure_mode_stack_allocate, _tx_thread_secure_mode_stack_free and _tx_thread_secure_mode_stack_initialize
This issue is systematic, including trying with a fresh new workspace.
Thank you for your help,
Guillaume
Solved! Go to Solution.
‎2023-03-22 01:38 AM
Hello,
In the IDE project in the following directory:
Middlewares\ST\threadx\ports\cortex_m33\gnu\src\
replace the 9 files .s with .S
It should solve you compilation issue.
Ronan,
‎2023-03-21 08:29 AM
I finally succeded but I'm not sure this is the right answer :
=> compiles and seems to run OK
Maybe this is a Linux only issue ?
‎2023-03-22 01:38 AM
Hello,
In the IDE project in the following directory:
Middlewares\ST\threadx\ports\cortex_m33\gnu\src\
replace the 9 files .s with .S
It should solve you compilation issue.
Ronan,
‎2023-03-22 01:40 AM
It's the opposite : I have to rename de 9 files .S with .s :D
But thank you for the confirmation.
‎2023-03-22 03:54 AM
If you modify in the IDE as I suggested you must change .s in .S (because the files on disk are .S)
If you prefer change on the disk you can change .S in .s but other projects won't work anymore.
So it is up to you to decide the preferred correction.
Ronan,
‎2023-03-22 03:56 AM
Oh yes got it, thanks a lot.