Subversion Repositories HomeAutomation

Rev

Rev 2034 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 2034 Rev 2235
Line 1... Line 1...
1
/*
1
/*
2
 * $Id: bios.c 2034 2012-06-28 08:45:43Z pengi $
2
 * $Id: bios.c 2235 2012-11-05 21:25:16Z arune $
3
 */
3
 */
4
 
4
 
5
#include <inttypes.h>
5
#include <inttypes.h>
6
#include <avr/io.h>
6
#include <avr/io.h>
7
#include <avr/interrupt.h>
7
#include <avr/interrupt.h>
Line 55... Line 55...
55
 
55
 
56
volatile uint8_t bios_msg_full;
56
volatile uint8_t bios_msg_full;
57
Can_Message_t* bios_msg_ptr; // only a pointer to main-local structure to save .bss space
57
Can_Message_t* bios_msg_ptr; // only a pointer to main-local structure to save .bss space
58
extern char __bios_start; // Start of BIOS area in flash, from ld-script.
58
extern char __bios_start; // Start of BIOS area in flash, from ld-script.
59
 
59
 
60
prog_uint32_t hwid = NODE_HW_ID;
60
const uint32_t hwid PROGMEM = NODE_HW_ID;
61
 
61
 
62
#if defined(AUTOSTART)
62
#if defined(AUTOSTART)
63
uint8_t autostart_cnt;
63
uint8_t autostart_cnt;
64
#endif
64
#endif
65
 
65