Hi,
I recently upgraded my processor from XS1-L1A to XS1-L10A, as well as updated my development tool to xTIMEcomposer.
I have some errors after I imported my project into the xTIMEcomposer, see the following:
Creating DigitalController_L10A.xe
../src/xrayControllerMain.xc: Error: Undefined reference to 'fl_connect'
../src/xrayControllerMain.xc: Error: Undefined reference to 'fl_disconnect'
../src/xrayControllerMain.xc: Error: Undefined reference to 'fl_endWriteImage'
../src/xrayControllerMain.xc: Error: Undefined reference to 'fl_getFactoryImage'
../src/xrayControllerMain.xc: Error: Undefined reference to 'fl_getNextBootImage'
../src/xrayControllerMain.xc: Error: Undefined reference to 'fl_startImageAdd'
../src/xrayControllerMain.xc: Error: Undefined reference to 'fl_startImageReplace'
../src/xrayControllerMain.xc: Error: Undefined reference to 'fl_writeImagePage'
xmake[1]: *** [bin/Release/DigitalController_L10A.xe] Error 1
xmake: *** [bin/Release/DigitalController_L10A.xe] Error 2
Those undefined reference are from the flash.h, which is already included in the project.
Why the project didn't link to those header files?
How could I get more detail about the last two errors and fix them.
Please kindly advise me some hints and direction.
Greatly appreciate! Thanks!
Why is flash library not recognized by tools?
-
- Member
- Posts: 10
- Joined: Wed Jan 11, 2012 1:20 am
-
- XCore Expert
- Posts: 589
- Joined: Wed Feb 29, 2012 10:03 am
You need to include library flash in your application. You can do that by adding XCC_FLAGS = -lflash in your application Makefile.