2008-12-03 05:40:16 +00:00
|
|
|
#ifndef CONFIG_H_
|
|
|
|
#define CONFIG_H_
|
|
|
|
|
|
|
|
#include "autoconf.h"
|
|
|
|
|
|
|
|
#define STREAMER_NUM 30
|
|
|
|
|
|
|
|
#define FEUER_N 5
|
|
|
|
#define FEUER_S 30
|
|
|
|
#define FEUER_DIV 44
|
|
|
|
#define FEUER_DELAY 50
|
|
|
|
|
|
|
|
#define SNAKE_DELAY 100
|
|
|
|
|
2009-01-01 17:06:38 +00:00
|
|
|
/*
|
|
|
|
#define BORG_CAN
|
2008-12-03 05:40:16 +00:00
|
|
|
|
|
|
|
// spi.[ch] defines
|
|
|
|
#define SPI_HARDWARE
|
|
|
|
#define SPI_PORT PORTB //for slave select
|
|
|
|
#define SPI_PIN PINB //for slave select
|
|
|
|
#define SPI_DDR DDRB
|
|
|
|
|
|
|
|
#define SPI_PIN_MOSI PB5
|
|
|
|
#define SPI_PIN_MISO PB6
|
|
|
|
#define SPI_PIN_SCK PB7
|
|
|
|
#define SPI_PIN_SS PB4 // for slave select
|
|
|
|
|
|
|
|
//interrupt pin of MCP2515 for non interrupt driven can
|
|
|
|
#define SPI_REG_PIN_MCP_INT PIND
|
|
|
|
#define SPI_PIN_MCP_INT PD2
|
|
|
|
|
|
|
|
// can.[ch] defines
|
|
|
|
#undef CAN_INTERRUPT //set this to enable interrupt driven and buffering version
|
|
|
|
#define CAN_RX_BUFFER_SIZE 2 //only used for Interrupt
|
|
|
|
#define CAN_TX_BUFFER_SIZE 2 //only used for Interrupt
|
|
|
|
#define F_MCP F_CPU
|
2009-01-01 17:06:38 +00:00
|
|
|
*/
|
2008-12-03 05:40:16 +00:00
|
|
|
|
|
|
|
#define INIT_EEPROM
|
|
|
|
|
|
|
|
//#define UART_BAUD_RATE 115200L
|
|
|
|
|
|
|
|
#endif /* CONFIG_H_ */
|