lpcware

SPIFI library source code

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by hlsa on Wed Apr 16 09:32:28 MST 2014
Hello NXP,

an ongoing problem among users of the SPIFI peripheral is the SPIFI library. See for example:
http://www.lpcware.com/content/forum/spifi-library-non-keil-development
http://www.lpcware.com/content/forum/link-problem-spifi-library-and-greenhills-compiler
http://www.lpcware.com/content/forum/spifi-errata-and-part-version-information#comment-1023028

As many other users, I cannot get the precompiled spifi library linked into my other source code. The problem is similar to problems other users have. I get the following linker errors (examples):
- error: M4.elf uses VFP register arguments, S:\MyProject\M4\Bsp\Cmsis\spifi_drv_M4.lib(spifi_rom_api.o) does not
- warning: S:\MyProject\M4\Bsp\Cmsis\spifi_drv_M4.lib(spifi_rom_api.o) uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
- error: c:/gcc/4_6/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/armv7e-m/fpv4\libc.a(lib_a-locale.o): Conflicting CPU architectures 0/13

So far NXP (and also other users) always tried to help to solve these problems. However, this might have helped some users solving their specific problem. But it has never been a solution which helped all users. Hence problems with the SPIFI library is a never ending story and many users are badly disappointed because of this. So am I.

It would be of great interest for the NXP community to get the source code of the SPIFI library. Therefore I would like to call upon NXP to provide this source code to the community.

Best regards,
Holger

Outcomes