board_cnf.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #ifndef __BOARD_CNF_H_
  2. #define __BOARD_CNF_H_
  3. #define PRJ_BASE_DC_8 0
  4. #define PRJ_ADC_V_DC_8 0
  5. #define PRJ_ADC_V_DC_7_1 0
  6. #define PRJ_ADC_V_DC_4_4 0
  7. #define PRJ_ADC_V_DC_NEW_8 0
  8. #define PRJ_ADC_V_DC_NEW_7 1
  9. #define PRJ_ADC_V_DC_NEW_6 0
  10. #if PRJ_BASE_DC_8
  11. #define RELAY_ChN_default 8
  12. #define SUPPORT_IM1253E 1
  13. #elif PRJ_ADC_V_DC_8
  14. #define RELAY_ChN_default 8
  15. #define SUPPORT_ADC_GATHER_V 1
  16. #define SUPPORT_ALL_ON_ALL_OFF 1
  17. #define SUPPORT_2_V_GA_CHN 1
  18. #elif PRJ_ADC_V_DC_7_1
  19. #define RELAY_ChN_default 7
  20. #define SUPPORT_ADC_GATHER_V 1
  21. #define SUPPORT_ALL_ON_ALL_OFF 1
  22. #define SUPPORT_EIGHT_LIGHT 1
  23. #define SUPPORT_2_V_GA_CHN 1
  24. #elif PRJ_ADC_V_DC_4_4
  25. #define RELAY_ChN_default 8
  26. #define SURPPOT_ALL_ON_ALL_OFF 1
  27. #define SUPPORT_DETECTION 1
  28. #define SUPPORT_STM32_ADC 1
  29. #define SPPPORT_BIG_HAL 1
  30. #elif PRJ_ADC_V_DC_NEW_8
  31. #define RELAY_ChN_default 8
  32. #define SURPPOT_ALL_ON_ALL_OFF 1
  33. #define SUPPORT_DETECTION 1
  34. #define SUPPORT_STM32_ADC 1
  35. #elif PRJ_ADC_V_DC_NEW_7
  36. #define RELAY_ChN_default 7
  37. #define SURPPOT_ALL_ON_ALL_OFF 1
  38. #define SUPPORT_DETECTION 0
  39. #define SUPPORT_STM32_ADC 1
  40. #define SUPPORT_SWITCH_REMENBER 0
  41. #elif PRJ_ADC_V_DC_NEW_6
  42. #define RELAY_ChN_default 6
  43. #define SURPPOT_ALL_ON_ALL_OFF 1
  44. #define SUPPORT_DETECTION 0
  45. #define SUPPORT_STM32_ADC 1
  46. #define SUPPORT_SWITCH_REMENBER 0
  47. #endif
  48. #endif