adding lib.a file to post project

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

cross mob
Anonymous
Not applicable

I'm porting an application from a vendor to a cypress poject and they have supplied some of their code in a library.  Can anyone point me to an example where psoc creator has included a *.a file into a project?  Currently I'm trying to add it via the project/build settings and then under ARM linker adding the file beside the "m" file which was already there.  At build time I get an error that the file cannot be found.

   

1)  Not sure if this is the correct place to try to add the library to the project and

   

2) Not sure why the file wouldn't be found

   

Ideas?

0 Likes
1 Solution
Anonymous
Not applicable

Take a look at the "emFile" documentation (The file system is provided as a library and they walk you through including it in your projects) http://www.cypress.com/file/135136/download

   

PS: make sure you remove the prefix "lib"  and extension ".a" when adding the library to the project (if you are using GCC). ie: libThelibrary.a is added as TheLibary

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

Take a look at the "emFile" documentation (The file system is provided as a library and they walk you through including it in your projects) http://www.cypress.com/file/135136/download

   

PS: make sure you remove the prefix "lib"  and extension ".a" when adding the library to the project (if you are using GCC). ie: libThelibrary.a is added as TheLibary

0 Likes