Rev 693 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 693 | Rev 697 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | #ifndef CONFIG_H_ |
1 | #ifndef CONFIG_H_ |
| 2 | #define CONFIG_H_ |
2 | #define CONFIG_H_ |
| 3 | 3 | ||
| 4 | // Kolla makefile för att sätta MCU!! |
4 | // Kolla makefile för att sätta MCU!! |
| 5 | 5 | ||
| 6 | #define F_CPU |
6 | #define F_CPU 20000000UL |
| 7 | 7 | ||
| 8 | //#define MCU atmega88 |
8 | //#define MCU atmega88 |
| 9 | #define CAN_CONTROLLER MCP2515 |
9 | #define CAN_CONTROLLER MCP2515 |
| 10 | #define MCP_CS_PORT PORTB |
10 | #define MCP_CS_PORT PORTB |
| 11 | #define MCP_CS_DDR DDRB |
11 | #define MCP_CS_DDR DDRB |
| Line 19... | Line 19... | ||
| 19 | #define SERIAL_TX_BUFFER_SIZE 64 |
19 | #define SERIAL_TX_BUFFER_SIZE 64 |
| 20 | 20 | ||
| 21 | /* set to 0 for not sending timestamps on bus */ |
21 | /* set to 0 for not sending timestamps on bus */ |
| 22 | #define SENDTIMESTAMP 0 |
22 | #define SENDTIMESTAMP 0 |
| 23 | 23 | ||
| 24 | #define USE_STDCAN |
24 | #define USE_STDCAN 1 |
| 25 | #define NODE_ID 0 |
25 | #define NODE_ID 0 |
| 26 | #define STDCAN_FILTER 0 |
26 | #define STDCAN_FILTER 0 |
| 27 | 27 | ||
| 28 | 28 | ||
| 29 | #endif /*CONFIG_H_*/ |
29 | #endif /*CONFIG_H_*/ |