Patch from Landon Fuller adds const to PROGMEM, required for newer avr-gcc

This commit is contained in:
David Kopf 2012-06-10 12:54:11 -04:00
parent 9096da299e
commit 37c407b177
6 changed files with 15 additions and 17 deletions

View file

@ -4,9 +4,9 @@
/* Link layer ipv6 address will become fe80::ff:fe:1 */
uint8_t default_mac_address[8] PROGMEM = {0x02, 0x00, 0x00, 0xff, 0xfe, 0x00, 0x00, 0x01};
uint8_t default_server_name[16] PROGMEM = "ATMEGA128rfa1";
uint8_t default_domain_name[30] PROGMEM = "localhost";
const uint8_t default_mac_address[8] PROGMEM = {0x02, 0x00, 0x00, 0xff, 0xfe, 0x00, 0x00, 0x01};
const uint8_t default_server_name[16] PROGMEM = "ATMEGA128rfa1";
const uint8_t default_domain_name[30] PROGMEM = "localhost";
uint8_t eemem_mac_address[8] EEMEM = {0x02, 0x00, 0x00, 0xff, 0xfe, 0x00, 0x00, 0x01};
uint8_t eemem_server_name[16] EEMEM = "ATMEGA128rfa1";
uint8_t eemem_domain_name[30] EEMEM = "localhost";