Ethernet_Shield_W5200
Ethernet_Shield_W5200 copied to clipboard
Error compiling for board Arduino Due (Programming Port).
Hardware description
- Ethernet Shield purchased about 2230908
- Connect to Due. Verifying correct connection because pins all match the corresponding pins on the Due.
Library
Seeed Library from library manager.
Steps to reproduce
Load example code, "Web client"
Compile. Get error .
Error summary
exit status 1 Error compiling for board Arduino Due (Programming Port).
Full error report
In file included from C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\DhcpV2_0.cpp:4:0: C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::initSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:357:36: error: 'DDRB' was not declared in this scope inline static void initSS() { DDRB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:357:51: error: '_BV' was not declared in this scope inline static void initSS() { DDRB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::setSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:358:36: error: 'PORTB' was not declared in this scope inline static void setSS() { PORTB &= ~_BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:358:51: error: '_BV' was not declared in this scope inline static void setSS() { PORTB &= ~_BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::resetSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:359:36: error: 'PORTB' was not declared in this scope inline static void resetSS() { PORTB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:359:51: error: '_BV' was not declared in this scope inline static void resetSS() { PORTB |= _BV(2); }; ^ In file included from C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\EthernetClientV2_0.cpp:1:0: C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::initSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:357:36: error: 'DDRB' was not declared in this scope inline static void initSS() { DDRB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:357:51: error: '_BV' was not declared in this scope inline static void initSS() { DDRB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::setSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:358:36: error: 'PORTB' was not declared in this scope inline static void setSS() { PORTB &= ~_BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:358:51: error: '_BV' was not declared in this scope inline static void setSS() { PORTB &= ~_BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::resetSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:359:36: error: 'PORTB' was not declared in this scope inline static void resetSS() { PORTB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:359:51: error: '_BV' was not declared in this scope inline static void resetSS() { PORTB |= _BV(2); }; ^ In file included from C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\DnsV2_0.cpp:5:0: C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::initSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:357:36: error: 'DDRB' was not declared in this scope inline static void initSS() { DDRB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:357:51: error: '_BV' was not declared in this scope inline static void initSS() { DDRB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::setSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:358:36: error: 'PORTB' was not declared in this scope inline static void setSS() { PORTB &= ~_BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:358:51: error: '_BV' was not declared in this scope inline static void setSS() { PORTB &= ~_BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::resetSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:359:36: error: 'PORTB' was not declared in this scope inline static void resetSS() { PORTB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:359:51: error: '_BV' was not declared in this scope inline static void resetSS() { PORTB |= _BV(2); }; ^ In file included from C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\EthernetServerV2_0.cpp:1:0: C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::initSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:357:36: error: 'DDRB' was not declared in this scope inline static void initSS() { DDRB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:357:51: error: '_BV' was not declared in this scope inline static void initSS() { DDRB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::setSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:358:36: error: 'PORTB' was not declared in this scope inline static void setSS() { PORTB &= ~_BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:358:51: error: '_BV' was not declared in this scope inline static void setSS() { PORTB &= ~_BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::resetSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:359:36: error: 'PORTB' was not declared in this scope inline static void resetSS() { PORTB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:359:51: error: '_BV' was not declared in this scope inline static void resetSS() { PORTB |= _BV(2); }; ^ In file included from C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\EthernetUdpV2_0.cpp:29:0: C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::initSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:357:36: error: 'DDRB' was not declared in this scope inline static void initSS() { DDRB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:357:51: error: '_BV' was not declared in this scope inline static void initSS() { DDRB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::setSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:358:36: error: 'PORTB' was not declared in this scope inline static void setSS() { PORTB &= ~_BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:358:51: error: '_BV' was not declared in this scope inline static void setSS() { PORTB &= ~_BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h: In static member function 'static void W5100Class::resetSS()': C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:359:36: error: 'PORTB' was not declared in this scope inline static void resetSS() { PORTB |= _BV(2); }; ^ C:\Users\Admin\Documents\Arduino\libraries\Ethernet_Shield_W5200\utility/w5200.h:359:51: error: '_BV' was not declared in this scope inline static void resetSS() { PORTB |= _BV(2); }; ^ exit status 1 Error compiling for board Arduino Due (Programming Port).