board_cnf.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 0
  9. #define PRJ_ADC_V_DC_NEW_6 0
  10. #define PRJ_ADC_V_DC_NEW_4 0
  11. #define PRJ_ADC_V_DC_1 1
  12. #if PRJ_BASE_DC_8
  13. #define RELAY_ChN_default 8
  14. #define SUPPORT_IM1253E 1
  15. #elif PRJ_ADC_V_DC_8
  16. #define RELAY_ChN_default 8
  17. #define SUPPORT_ADC_GATHER_V 1
  18. #define SUPPORT_ALL_ON_ALL_OFF 1
  19. #define SUPPORT_2_V_GA_CHN 1
  20. #elif PRJ_ADC_V_DC_7_1
  21. #define RELAY_ChN_default 7
  22. #define SUPPORT_ADC_GATHER_V 1
  23. #define SUPPORT_ALL_ON_ALL_OFF 1
  24. #define SUPPORT_EIGHT_LIGHT 1
  25. #define SUPPORT_2_V_GA_CHN 1
  26. #elif PRJ_ADC_V_DC_4_4
  27. #define RELAY_ChN_default 8
  28. #define SURPPOT_ALL_ON_ALL_OFF 1
  29. #define SUPPORT_DETECTION 1
  30. #define SUPPORT_STM32_ADC 1
  31. #define SPPPORT_BIG_HAL 1
  32. #elif PRJ_ADC_V_DC_NEW_8
  33. #define RELAY_ChN_default 1
  34. #define SURPPOT_ALL_ON_ALL_OFF 1
  35. #define SUPPORT_DETECTION 0
  36. #define SUPPORT_STM32_ADC 1
  37. #elif PRJ_ADC_V_DC_NEW_7
  38. #define RELAY_ChN_default 7
  39. #define SURPPOT_ALL_ON_ALL_OFF 1
  40. #define SUPPORT_DETECTION 0
  41. #define SUPPORT_STM32_ADC 1
  42. #define SUPPORT_SWITCH_REMENBER 0
  43. #elif PRJ_ADC_V_DC_NEW_6
  44. #define RELAY_ChN_default 6
  45. #define SURPPOT_ALL_ON_ALL_OFF 1
  46. #define SUPPORT_DETECTION 0
  47. #define SUPPORT_STM32_ADC 1
  48. #define SUPPORT_SWITCH_REMENBER 0
  49. #elif PRJ_ADC_V_DC_NEW_4
  50. #define RELAY_ChN_default 4
  51. #define SURPPOT_ALL_ON_ALL_OFF 1
  52. #define SUPPORT_DETECTION 1
  53. #define SUPPORT_STM32_ADC 1
  54. #define SUPPORT_SWITCH_REMENBER 1
  55. #define SUPPORT_4_GATE_ADC 1
  56. #define SPPPORT_BIG_HAL 1
  57. #elif PRJ_ADC_V_DC_1
  58. #define RELAY_ChN_default 1
  59. #define SURPPOT_ALL_ON_ALL_OFF 1
  60. //#define SUPPORT_DETECTION 1
  61. #define SUPPORT_STM32_ADC 1
  62. #endif
  63. #endif