A PicoTCP driver for the lpc1768 mbed board in polling mode, to allow usage with the legacy PicoTCP API

Dependents:   ZeroMQ_PicoTCP_Publisher_demo

Fork of lpc1768-picotcp-eth by TASS Belgium

Files at this revision

API Documentation at this revision

Comitter:
daniele
Date:
Sat Jun 22 14:50:35 2013 +0000
Parent:
6:32c8501737cd
Child:
8:d6222c305d94
Commit message:
Polling version to run PicoTCP native code (w/out socket api) in a single thread

Changed in this revision

pico_dev_mbed_emac.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/pico_dev_mbed_emac.cpp	Sun Jun 16 19:45:09 2013 +0000
+++ b/pico_dev_mbed_emac.cpp	Sat Jun 22 14:50:35 2013 +0000
@@ -189,7 +189,8 @@
 
   // Set function pointers
   mbdev->dev.send = _emac_send_frame;
-  //mbdev->dev.poll = _pico_emac_poll; /* IRQ MODE */
+  mbdev->dev.poll = _pico_emac_poll; /* IRQ MODE */
+  ///
   mbdev->dev.dsr = _pico_emac_poll;
   mbdev->dev.destroy = _emac_destroy;