Compile wishield and dataflash with Eclipse?

Postings related to the second version of the WiShield

Compile wishield and dataflash with Eclipse?

Postby lmclaren » Mon Oct 18, 2010 2:04 am

Hi,
Does anyone use Eclipse as their development environment? I have managed to setup Eclipse for Arduino and can compile some code fine but when I include the wishield.h I get lots of errors.

I expect I am including them the wrong way, can anyone give me some pointers?

many thanks

Lee
lmclaren
 
Posts: 1
Joined: Fri Aug 27, 2010 2:36 am

Re: Compile wishield and dataflash with Eclipse?

Postby timvdp » Wed Oct 27, 2010 8:52 am

Hello,

I got everything working in Eclipe.
Here is an archive of my test project with the arduino core and wishield library.

The example is a TCP Server listening on port 2000, waiting for message like this one :
newRequest(x){MyCommand} -> x a number incremented by the client for each request and MyCommand is the command we want the arduino to process

When a message is received, an ack is send to the client :
ackRequest(x){MyCommand}

Each request is piled in a FIFO and processed in the main loop.

Hope this help...

Tim
Attachments
ArduinoApp_101027_Example.zip
(266.22 KiB) Downloaded 6 times
timvdp
 
Posts: 4
Joined: Sun Oct 24, 2010 3:37 pm


Return to WiShield 2.0

Who is online

Users browsing this forum: No registered users and 1 guest