Jump to content
Sign in to follow this  
Bernard

Energia-013 ethernet example doesn't compile

Recommended Posts

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.

 

 

Share this post


Link to post
Share on other sites

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) 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×