| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- #ifndef __BOARD_CFG_H_
- #define __BOARD_CFG_H_
- #define PRJ_4_BASE 0
- #define PRJ_4_ALL_O_ALL_C 0
- #define PRJ_4_SELF_LOCK_SWITCH 0
- #define PRJ_6_BASE 0
- #define PRJ_8_BASE 0
- #define PRJ_1_ALL_O_ALL_C 0
- #define PRJ_1_SELF_LOCK_SWITCH 0
- #define PRJ_TWIN_FIRE 0
- #define PRJ_ITK_8_CHANNEL 0
- #define PRJ_2_2_BASE 0
- #define PRJ_8_NEW 1
- #if PRJ_4_BASE
- #define RelaySlaveChaNum 4
- #define SUPPORT_SWITCH_REMENBER 1
- #define SUPPORT_DETECTION 1
- #define ACSingCurrid 2
- #elif PRJ_4_ALL_O_ALL_C
- #define RelaySlaveChaNum 4
- #define SUPPORT_ALL_ON_OFF 1
- #define SUPPORT_JLINK 1
- #define SUPPORT_DETECTION 1
- #define ACSingCurrid 2
- #elif PRJ_4_SELF_LOCK_SWITCH
- #define RelaySlaveChaNum 4
- #define SUPPORT_SELF_LOCK 1
- #define SUPPORT_DETECTION 1
- #define ACSingCurrid 2
- #elif PRJ_6_BASE
- #define RelaySlaveChaNum 6
- #define SUPPORT_SWITCH_REMENBER 1
- #define SUPPORT_DETECTION 1
- #define SUPPORT_DETECTION_SWITCH 1
- #define ACSingCurrid 1
- #elif PRJ_8_BASE
- #define RelaySlaveChaNum 8
- #define SUPPORT_SWITCH_REMENBER 1
- #define SUPPORT_DETECTION 1
- #define ACSingCurrid 1
- #define SUPPORT_DETECTION_SWITCH 1
- #elif PRJ_1_ALL_O_ALL_C
- #define RelaySlaveChaNum 1
- #define SUPPORT_SWITCH_REMENBER 1
- #define SUPPORT_ALL_ON_OFF 1
- #define SUPPORT_DETECTION 1
- #define ACSingCurrid 2
- #elif PRJ_1_SELF_LOCK_SWITCH
- #define RelaySlaveChaNum 1
- #define SUPPORT_SELF_LOCK 1
- #define SUPPORT_SWITCH_REMENBER 1
- #define SUPPORT_DETECTION 1
- #define ACSingCurrid 2
- #elif PRJ_TWIN_FIRE
- #define RelaySlaveChaNum 4
- #define SUPPORT_TWIN_FIRE 1
- #define SUPPORT_SWITCH_REMENBER 1
- #define SUPPORT_DETECTION 1
- #define SUPPORT_DETECTION_SWITCH 1
- #define ACSingCurrid 1
- #elif PRJ_ITK_8_CHANNEL
- #define RelaySlaveChaNum 8
- #define SUPPORT_SWITCH_REMENBER 0
- #define SUPPORT_DETECTION 0
- #define ACSingCurrid 1
- #define SUPPORT_DETECTION_SWITCH 0
- #elif PRJ_2_2_BASE
- #define RelaySlaveChaNum 2
- #define SURPPORT_2_2 1
- #define SUPPORT_DETECTION 1
- #define SUPPORT_SWITCH_REMENBER 1
- #define SUPPORT_ALL_ON_OFF 1
- #define ACSingCurrid 2
- #elif PRJ_8_NEW
- #define RelaySlaveChaNum 8
- #define SUPPORT_2_DETECTION 1
- #define SUPPORT_SWITCH_REMENBER 1
- #define SUPPORT_DETECTION 1
- #define ACSingCurrid 1
- #endif
- #endif
|