Subversion Repositories HomeAutomation

Rev

Blame | Last modification | View Log | SVN | RSS feed

  1. #ifndef CONFIG_H_
  2. #define CONFIG_H_
  3.  
  4. #define HW_NAME CoreCard
  5. #define HW_VERSION 1
  6. #define _AVRLIB_BIOS_ 1
  7. #define AUTOSTART 5
  8. #define NODE_HW_ID 0xb7900b1f
  9. #define F_CPU 8000000UL
  10. #define MCU atmega168
  11. #define HIGHFUSE 0xdc
  12. #define LOWFUSE 0xe2
  13. #define EXTFUSE 0x02
  14. #define BOOT_START 0x3c00
  15. #define CAN_CONTROLLER MCP2515
  16. #define MCP_CS_PORT PORTC
  17. #define MCP_CS_DDR DDRC
  18. #define MCP_CS_BIT PC3
  19. #define MCP_CAN_BITRATE_KBPS 250
  20. #define MCP_CLOCK_FREQ_MHZ 20
  21. #define MCP_CLOCK_PRESC 1
  22. #define TIMER_NUM_TIMERS 3
  23. #define TIMER_USE_TIMER 2
  24. #define TIMER_TICKFREQ 1000
  25. #define APP_HEARTBEAT_TIMER 0
  26. #define STDCAN_HEARTBEAT_PERIOD 10000
  27. #define NUMBEROFMODULES 1
  28. #define sns_ds18x20_ID 1
  29. #define sns_ds18x20_SEND_PERIOD 20000
  30. #define sns_ds18x20_SEND_DELAY 500
  31. #define sns_ds18x20_SEARCH_TIMEOUT 5
  32. #define sns_ds18x20_TIMER 1
  33.  
  34. #endif /*CONFIG_H_*/
  35.