Hi @PabloAvalos ,
I have used LPC55s69 SDK as reference but its architecture is different than LPC546.
I have followed the process shared at "https://github.com/azure-rtos/threadx/blob/master/ports/cortex_m4/gnu/readme_threadx.txt"
The first step in the guide is to build the threadx library using the batch file given in example folder: "https://github.com/azure-rtos/threadx/tree/master/ports/cortex_m4/gnu/example_build"
I have used process and commands mentioned in the following link to build:
"https://mcuoneclipse.com/2017/08/03/building-eclipse-and-mcuxpresso-ide-projects-from-the-command-li...
After building the batch file, I got a library file tx.a of Threadx.
I have renamed this file as threadx_sp.a
On linking this threadx_sp.a library file, I get the following error:
lpcxpresso54608_gpio_led_output2.axf uses VFP register arguments, C:\Users\20071270\Desktop\Threadx RTOS Workspace\LPC546 Workspace\lpcxpresso54608_gpio_led_output2\azure-rtos\binary\threadx\cortex_m4\mcux\libthreadx_sp.a(tx_block_allocate.o) does not
In Threadx forum, they have mentioned to enable VFP in the compiler and assembler to avoid this problem.
How do i enable VFP in the compiler and assembler during command line build?
Thanks and best regards,
Prasanna