Code: Select all
#include <stdio.h>
#include <stdlib.h>
#include <flashlib.h>
extern fl_PortHolderStruct spiPorts;
int xFlashConnect()
{
return fl_connect(&spiPorts);
}
Its something simple I am sure but I fail to see it right now.xmake all
Creating dependencies for xflash.c
Compiling xflash.c
Creating xtcp_demo.xe
.././src/Common/xflash.c: Error: Undefined reference to 'fl_connect'
As far as I knew adding the header for the flashlib should have taken care of it?
Thanks in advance