dak664 | 10 Jun 2012 18:54
Picon

[37c407b] makefsdata.h makefsdata.h makefsdata.h httpd-fsdata.c makefsdata.h httpd.c: Patch from Landon Fuller adds const to PROGMEM, required ...

Summary of changes:
 examples/webserver-ipv6-raven/Huginn/makefsdata.h  |    6 +++---
 examples/webserver-ipv6-raven/Muninn/makefsdata.h  |    6 +++---
 .../apps/raven-webserver/httpd-fs/makefsdata.h     |    6 +++---
 .../apps/raven-webserver/httpd-fsdata.c            |    6 +++---
 .../apps/raven-webserver/httpd-fs/makefsdata.h     |    6 +++---
 platform/avr-raven/apps/raven-webserver/httpd.c    |    2 --
 6 files changed, 15 insertions(+), 17 deletions(-)

- Log -----------------------------------------------------------------
commit 37c407b177b17d8424d65c66129210e0dd2f9419
Author: David Kopf <dak664@...>
Date:   Sun Jun 10 12:54:11 2012 -0400

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

diff --git a/examples/webserver-ipv6-raven/Huginn/makefsdata.h b/examples/webserver-ipv6-raven/Huginn/makefsdata.h
index 654cb1e..96e60c2 100644
--- a/examples/webserver-ipv6-raven/Huginn/makefsdata.h
+++ b/examples/webserver-ipv6-raven/Huginn/makefsdata.h
 <at>  <at>  -1,9 +1,9  <at>  <at> 
 #include <avr/eeprom.h>

 /* Link layer ipv6 address will become fe80::2 */
-uint8_t default_mac_address[8]  PROGMEM = {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02};
-uint8_t default_server_name[16] PROGMEM = "huginn";
-uint8_t default_domain_name[30] PROGMEM = "localhost";
+const uint8_t default_mac_address[8]  PROGMEM = {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02};
+const uint8_t default_server_name[16] PROGMEM = "huginn";
+const uint8_t default_domain_name[30] PROGMEM = "localhost";
(Continue reading)


Gmane