Other Parts Discussed in Thread: CC2538, CC3100
Greetings,
I'm using CC3100 with the host CC2538. I have a problem including the "cc3100-sdk\simplelink" files into the CC2538 IAR project.
I copied the folder "simplelink" from the SDK into my project folder. Then I included these files into my code on the host:
#include "device.h"
#include "fs.h"
#include "netapp.h"
#include "netcfg.h"
#include "socket.h"
#include "trace.h"
#include "wlan.h"
#include "wlan_rx_filters.h"
#include "user.h"
I also added all the files in the IAR workspace:
I also added the "simplelink", "simplelink\include","simplelink\source" directories to the additional include directories of the IAR project.
I get multiple errors (in every ".c" file in simpelink\source) about not defined identifiers (like: OSI_OK, SpiHandle_t, .. ). And in my "board.c" file, I get the (function has no prototype) error although all functions have prototypes in "board.h" (which is included in the same file).
Could anyone please help me with this? What did I do wrong? Isn't this the right way to include CC3100 files?
Thanks in advance
* James *