When specifying the library, you shouldn't add the prefix "lib" and ".a" in the Linker Settings. Only add "emf32nosnlfn" as shown below:
Also, when building the project if you see the error "device.h: No such file or directory", then open the file "FS_ConfigIO.c" and change "#include <device.h>" to "#include <project.h>".
After this, the build should be successful. Let me know your observations.
Thanks. I did try to enter the library without the lib and the .a originally. I’ve done it again now and I now get
ERROR: cannot find -lC:\emFile_V322c\LinkLibrary\PSoC5\GCC\emf32nosnlfn
collect2.exe: error: ld returned 1 exit status
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
Thanks. At last success. The IDE automatically put in the full path name for the library file which I did not think would be a problem. Once I removed the pathname and just left the file name – without the li band .a – it worked.
Thanks once more
Oddi wrth: DheerajK_81 <email@example.com>
Anfonwyd: 02 June 2020 11:25
At: Dafydd Slade <firstname.lastname@example.org>
Pwnc: Re: - ERROR: cannot find -lC:\emFile_V322c\LinkLibrary\PSoC5\GCC\libemf32nosnlfn.a
<https://community.cypress.com/?et=watches.email.thread> Cypress Developer Community
ERROR: cannot find -lC:\emFile_V322c\LinkLibrary\PSoC5\GCC\libemf32nosnlfn.a
reply from DheerajK_81 <https://community.cypress.com/people/DheerajK_81?et=watches.email.thread> in Community Information - View the full discussion <https://community.cypress.com/message/237479?et=watches.email.thread#237479>