AnsweredAssumed Answered

Creating and compiling library project (FFS) in MQX 4.0.1 and CW10.4

Question asked by friederschrempf on Jun 17, 2013
Latest reply on Jul 3, 2014 by adt 123

I want to port the FFS library and the corresponding example (NAND Flash File System patch for Freescale MQX™ RTOS 4.0.0) from Freescale compiler to GNU GCC compiler.

To do this I set up a new project for the library like it is explained here: A Library with ARM gcc and Eclipse | MCU on Eclipse.

This produces a valid library file (fss.a).

In the next step I tried to port the included msf_nandflash example by creating a new gcc project, including all the references and adding the previously created library to the linker. At this point I'm getting many "undefined reference" errors in the file "Freescale_MQX_4_0\ffs\source\nandflash_wl.c" for funtion names from the library like 'DriveErase' or 'DriveRepair'.

Can somebody please help me?

 

 

 

Outcomes