2397808_en-US

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

2397808_en-US

2397808_en-US

Add a library

I have just migrated from CodeWarrior and also have just installed MCUX on my new iMAC. I am working on a new project that includes  IR remote control and I would like to use the IRemote library (from GitHub).  I have downloaded the library file But I cannot add it to SDK_2.x_LPCXpresso824MAX (which is the development board I am using). I followed the instructions in the document "How to create and use a static library", but the instructions and screen shots appear to be from a much earlier version than mine.

Does anyone have an "idiot guide" that will solve my problem?

Re: Add a library

Hello,

What type of file do you have for the library? The .a extension or .h?

The steps mentioned in Chapter 2 "adding user static library in user application" Page 5 from How to create and use static library in MCUXpresso IDE still apply for newer version of MCUXpresso IDE, the windows shown in the guide are the same in recent version of MCUXpresso. Do you have an issue with a step?

Also could you help confirm which version are you using?

For the SDK; I see you wrote "SDK_2.x_" could you confirm which older version are you using? You could update to use the recent SDK version 26.06, you can download it from SDK Builder

Best Regards, Luis

Re: Add a library

This is part of my problem. The file does not have any extension - it is simply "IRemote-4.7.1" and is represented in my downloads as a folder.  I don't think I am using an older version of the SDK, it is version 26.06.00. Could it be that I have not loaded the actual IRemote library - I just pressed the DOWNLOAD button

Re: Add a library

Hello

You probably download the whole Github folders for the library, usually Github users save the .h/.c/.hpp/.cpp etc in the src folder.

You could download only the necessary .h/.a files from src folder or search for them in the Github instead of download the whole Github project, and follow the guide to add library and path to linker.

Best Regards, Luis

标记 (1)
无评分
版本历史
最后更新:
昨天
更新人: