Change Huginn and Muninn for params.c storage
This commit is contained in:
parent
c31f57ffb1
commit
ea667cef2d
2 changed files with 12 additions and 6 deletions
|
@ -1,6 +1,9 @@
|
||||||
#include <avr/eeprom.h>
|
#include <avr/eeprom.h>
|
||||||
|
|
||||||
/* Link layer ipv6 address will become fe80::2 */
|
/* Link layer ipv6 address will become fe80::2 */
|
||||||
uint8_t mac_address[8] EEMEM = {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02};
|
uint8_t default_mac_address[8] PROGMEM = {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02};
|
||||||
uint8_t server_name[16] EEMEM = "huginn";
|
uint8_t default_server_name[16] PROGMEM = "huginn";
|
||||||
uint8_t domain_name[30] EEMEM = "localhost";
|
uint8_t default_domain_name[30] PROGMEM = "localhost";
|
||||||
|
uint8_t eemem_mac_address[8] EEMEM = {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02};
|
||||||
|
uint8_t eemem_server_name[16] EEMEM = "huginn";
|
||||||
|
uint8_t eemem_domain_name[30] EEMEM = "localhost";
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
#include <avr/eeprom.h>
|
#include <avr/eeprom.h>
|
||||||
|
|
||||||
/* Link layer ipv6 address will become fe80::1 */
|
/* Link layer ipv6 address will become fe80::1 */
|
||||||
uint8_t mac_address[8] EEMEM = {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01};
|
uint8_t default_mac_address[8] PROGMEM = {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01};
|
||||||
uint8_t server_name[16] EEMEM = "muninn";
|
uint8_t default_server_name[16] PROGMEM = "muninn";
|
||||||
uint8_t domain_name[30] EEMEM = "localhost";
|
uint8_t default_domain_name[30] PROGMEM = "localhost";
|
||||||
|
uint8_t eemem_mac_address[8] EEMEM = {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01};
|
||||||
|
uint8_t eemem_server_name[16] EEMEM = "muninn";
|
||||||
|
uint8_t eemem_domain_name[30] EEMEM = "localhost";
|
||||||
|
|
Loading…
Reference in a new issue