Subversion Repositories HomeAutomation

Rev

Rev 1208 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1208 Rev 1210
1
# Application specific configuration file
1
# Application specific configuration file
2
# All parameters required by library code should be defined here
2
# All parameters required by library code should be defined here
3
 
3
 
4
# config.inc.template will be copied to your node folder as config.inc at compile
4
# config.inc.template will be copied to your node folder as config.inc at compile
5
# and then you may edit config.inc in your node folder (personal/nodeXYZ/) for settings
5
# and then you may edit config.inc in your node folder (personal/nodeXYZ/) for settings
6
 
6
 
7
SERIAL_BAUDRATE=9600
7
SERIAL_BAUDRATE=9600
8
SERIAL_RX_BUFFER_SIZE=32
8
SERIAL_RX_BUFFER_SIZE=32
9
SERIAL_TX_BUFFER_SIZE=64
9
SERIAL_TX_BUFFER_SIZE=64
10
 
10
 
11
TIMER_NUM_TIMERS=3
11
TIMER_NUM_TIMERS=3
12
TIMER_USE_TIMER=2
12
TIMER_USE_TIMER=2
13
TIMER_TICKFREQ=1000
13
TIMER_TICKFREQ=1000
14
 
14
 
15
 
15
 
16
// set to 0 when using external can controller from bios
16
// set to 0 when using external can controller from bios
17
MCP_CAN_PROCESS_RENAMED=1
17
MCP_CAN_PROCESS_RENAMED=0
18
 
18
 
19
MCP_USART_SPI_MODE=1
19
MCP_USART_SPI_MODE=1
20
MCP_CS_PORT_USART=PORTC
20
MCP_CS_PORT_USART=PORTC
21
MCP_CS_BIT_USART=PC0
21
MCP_CS_BIT_USART=PC0
22
MCP_CS_DDR_USART=DDRC
22
MCP_CS_DDR_USART=DDRC
23
MCP_CAN_BITRATE_KBPS_USART=250
23
MCP_CAN_BITRATE_KBPS_USART=250
24
MCP_CLOCK_FREQ_MHZ_USART=20
24
MCP_CLOCK_FREQ_MHZ_USART=20
25
MCP_CLOCK_PRESC_USART=1
25
MCP_CLOCK_PRESC_USART=1
26
 
26