Subversion Repositories HomeAutomation

Rev

Rev 1747 | Rev 2032 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1747 Rev 1868
Line 1... Line 1...
1
/*
1
/*
2
 * $Id: bios.c 1747 2011-08-16 15:32:00Z arune $
2
 * $Id: bios.c 1868 2012-01-05 18:48:53Z 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 53... Line 53...
53
//---------------------------------------------------------------------------
53
//---------------------------------------------------------------------------
54
// Private declarations
54
// Private declarations
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 void __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
prog_uint32_t hwid = NODE_HW_ID;
61
 
61
 
62
#if defined(AUTOSTART)
62
#if defined(AUTOSTART)
63
uint8_t autostart_cnt;
63
uint8_t autostart_cnt;