Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

AURIX™ MCU: How to use an external precompiled library in an AURIX™ Development Studio - KBA235951

AURIX™ MCU: How to use an external precompiled library in an AURIX™ Development Studio - KBA235951

IFX_Publisher2
Community Manager
Community Manager
Community Manager
1000 replies posted First like given 750 replies posted

Version: **

Follow these steps to use a precompiled library in an AURIX™ Development Studio project:

  1. Right-click on the project, select Properties -> AURIX™ Development Studio -> Build, and uncheck Auto-discover compiler include paths. It allows you to edit the include paths manually.
BinduPriya_G_2-1660109585455.png

 

  1. Click on Active Project Properties from the toolbar and select TASKING C/C++ Compiler -> Include Paths.
BinduPriya_G_3-1660109632973.png
  1. Add a new Include by clicking on the Add… button, select the folder containing the header file, and then click OK twice to return to the Project Properties.

 

BinduPriya_G_4-1660109694572.png

 

  1. Select TASKING Linker -> Libraries.
  2. Select Add… -> Workspace and select the *.a file of the library.

 

BinduPriya_G_1-1660109531641.png

 

BinduPriya_G_0-1660109467337.png

 

  1. Click OK twice, then Apply and Close Now you can call the library methods and functions from within your project.

Note:   This KBA applies to the following series of AURIX™ MCUs:

  • AURIX™ TC2xx series
  • AURIX™ TC3xx series
0 Likes
342 Views