Bernard 7 Posted September 21, 2014 Share Posted September 21, 2014 Hi, Ethernet example " EthernetWebServer " doesn't compile under Energia 013 here is error message : In file included from awebserver.ino:8:0: C:\Users\Nardo\energia-0101E0013\hardware\lm4f\libraries\Ethernet/Ethernet.h:12:28: error: redefinition of 'const IPAddress INADDR_NONE' In file included from C:\Users\Nardo\energia-0101E0013\hardware\lm4f\libraries\Ethernet/Ethernet.h:8:0, from awebserver.ino:8: C:\Users\Nardo\energia-0101E0013\hardware\lm4f\cores\lm4f/IPAddress.h:73:17: error: 'const IPAddress INADDR_NONE' previously declared here Under Energia012 it compiles and runs ok. Thank you and Salutations Bernard. Quote Link to post Share on other sites
reaper7 67 Posted September 21, 2014 Share Posted September 21, 2014 look at this: https://github.com/energia/Energia/commit/aa5509e8ab146d715e3b0369c755b1a2ef0dcc14 https://github.com/energia/Energia/issues/464 simply remove const IPAddress INADDR_NONE(0,0,0,0); from hardware/lm4f/libraries/Ethernet/Ethernet.h Bernard and CorB 2 Quote Link to post Share on other sites
Bernard 7 Posted September 21, 2014 Author Share Posted September 21, 2014 Thanks a lot Reaper 7 Quote Link to post Share on other sites
petrusz1 0 Posted October 23, 2014 Share Posted October 23, 2014 Well, that did not work for me, still having some errors: /home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp: In member function 'void EthernetClass::begin(uint8_t*, IPAddress, IPAddress, IPAddress, IPAddress)': /home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:29:1: error: 'INT_EMAC0_BLIZZARD' was not declared in this scope /home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp: In member function 'void EthernetClass::enableLinkLed()': /home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:100:23: error: 'LINK_LED' was not declared in this scope /home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:101:25: error: 'LINK_LED_BASE' was not declared in this scope /home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:101:40: error: 'LINK_LED_PIN' was not declared in this scope /home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp: In member function 'void EthernetClass::enableActivityLed()': /home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:106:23: error: 'ACTIVITY_LED' was not declared in this scope /home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:107:25: error: 'ACTIVITY_LED_BASE' was not declared in this scope /home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:107:44: error: 'ACTIVITY_LED_PIN' was not declared in this scope runnning energia E 013 under ubuntu 14.04 32 bit. The selected board is tm4c123 (80mhz) Quote Link to post Share on other sites
spirilis 1,265 Posted October 23, 2014 Share Posted October 23, 2014 The TM4C123 does not have Ethernet. It's only the TM4C129 (Tiva Connected LaunchPad) that does. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.