HI,
I created a static library named “libadd.a” using e2 Studio IDE. Later, I initiated a Renesas microcontroller project in Visual Studio Code utilizing the Renesas Build Utilities extension. Unfortunately, I faced challenges in linking the library file to my project. Could someone kindly provide a solution or suggest changes to integrate the static library into my project?
For reference, I have attached the link to the project file: Microsoft OneDrive
I call a simple ‘add’ function to get the sum of 2 numbers. The library file contains this definition. When I build the project, I get the below-mentioned error:
[build] D:\NexiGo\Code\VisualStudioCode_Project_Workspace\addition\src/hal_entry.c:16: undefined reference to ‘add’.