diff options
Diffstat (limited to 'test/test_config.h')
-rw-r--r-- | test/test_config.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h index 00dbcab5c9..fec9fd7084 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -501,6 +501,33 @@ int ncp15wb_calculate_temp(uint16_t adc); #define CONFIG_USB_PD_DECODE_SOP #endif +#ifdef TEST_USB_TCPMV2_COMPLIANCE +#define CONFIG_USB_DRP_ACC_TRYSRC +#define CONFIG_USB_PD_DUAL_ROLE +#define CONFIG_USB_PD_DUAL_ROLE_AUTO_TOGGLE +#define CONFIG_USB_PD_REV30 +#define CONFIG_USB_PD_TCPC_LOW_POWER +#define CONFIG_USB_PD_TRY_SRC +#define CONFIG_USB_PD_TCPMV2 +#define CONFIG_USB_PD_PORT_MAX_COUNT 1 +#define CONFIG_USBC_SS_MUX +#define CONFIG_USB_PD_VBUS_DETECT_TCPC +#define CONFIG_USB_POWER_DELIVERY +#define CONFIG_TEST_USB_PE_SM +#define CONFIG_USB_PD_ALT_MODE_DFP +#define CONFIG_USBC_VCONN +#define CONFIG_USBC_VCONN_SWAP +#define CONFIG_USB_PID 0x5036 +#define PD_VCONN_SWAP_DELAY 5000 /* us */ +#define CONFIG_USB_PD_TCPM_TCPCI +#define CONFIG_I2C +#define CONFIG_I2C_CONTROLLER +#define I2C_PORT_HOST_TCPC 0 +#define CONFIG_USB_PD_DEBUG_LEVEL 3 +#define CONFIG_USB_PD_EXTENDED_MESSAGES +#define CONFIG_USB_PD_DECODE_SOP +#endif + #ifdef TEST_USB_PD_INT #define CONFIG_USB_POWER_DELIVERY #define CONFIG_USB_PD_TCPMV1 |