| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- #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 1
- #define PRJ_8_NEW 0
- #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_SWITCH_REMENBER 1
- #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
|