External Library porting in LPC546

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

External Library porting in LPC546

782 Views
prasannanaik
Contributor III

Hi,

I am trying to port Threadx RTOS on LPC54608J512BD208E microcontroller. The first step of the portin process is linking the Threadx run time library tx.a with Application project.

I have followed the following process of linking external library through MCUXpresso but it didn't work.

"https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Creating-and-Linking-to-Library-Projects/m-p/469212...

I have attached source code for reference.

I am getting "-ltx library not found error".

Please help in resolving the issue.

IDE VERSION: 10.3.1_2233

Threadx source code: https://github.com/azure-rtos/threadx

 

Also, it would be very helpful if i can get any reference ported code for LPC546.

Thanks and best regards,

Prasanna 

 

0 Kudos
5 Replies

763 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

I can't open this link

"https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Creating-and-Linking-to-Library-Projects/m-p/469212...

Could you please check and send again?

You said: "I have followed the following process of linking external library through MCUXpresso but it didn't work."

What problem did you encounter? Please send me your problem screenshot.

 

We need make sure the lib file was build under the same IDE version of you project. Are both lib and application under MCUXpresso 10.3.1_2233?

Thanks

Jun Zhang

0 Kudos

751 Views
prasannanaik
Contributor III

Hi Jun Zhang,

Thanks for your reply.

1) URL of library linking process: "https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Creating-and-Linking-to-Library-Projects/m-p/469212...

2) Error screenshot: 

prasannanaik_0-1649140779876.png

 

3) Yes, both application and library was built through MCUXpresso 10.3.1_2233.

Is there any document or process for porting Threadx RTOS for cortex M4/LPC546 controller through MCUXpresso IDE?

 

Thanks & best regards,

Prasanna

0 Kudos

733 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

HI prasannanaik 

I suggest you referring this article I ever wrote:

https://community.nxp.com/t5/MCUXpresso-IDE-Knowledge-Base/How-to-create-and-use-static-library-in-M...

Hope this helps,

Jun Zhang

0 Kudos

689 Views
prasannanaik
Contributor III

Hi Jun Zhang,

I have referred the same article shared by you but still it is not working.

I am sharing my code in this thread, please have a look.

The library file "tx.a" is inside the "threadx" folder in "binary" sub folder

 

Thanks and best regards,

Prasanna

 

0 Kudos

686 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

I didn't see your lib source project. 

We need to make sure the lib file and project are built under the same version IDE and with the same compiler settings.

0 Kudos