diff options
| author | hathach <[email protected]> | 2013-03-04 16:21:41 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-04 16:21:41 +0700 |
| commit | 94c004724ccbe2b74af74fc1753184f6b3ccb9cf (patch) | |
| tree | b526a427c2bf16e46d7a20d1a5a54324922d9947 /tests/test/support | |
| parent | 656da2992ded914c70da849f9f7a1571dd2b91f4 (diff) | |
allow configure host/device by controller basic
- make changes to adapt
add mcu_capacity.h
Diffstat (limited to 'tests/test/support')
| -rw-r--r-- | tests/test/support/tusb_config.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/test/support/tusb_config.h b/tests/test/support/tusb_config.h index d7be7931a..cf0566133 100644 --- a/tests/test/support/tusb_config.h +++ b/tests/test/support/tusb_config.h @@ -56,13 +56,18 @@ #endif //--------------------------------------------------------------------+ +// CONTROLLER CONFIGURATION +//--------------------------------------------------------------------+ +#define TUSB_CFG_CONTROLLER0_MODE TUSB_MODE_HOST +#define TUSB_CFG_CONTROLLER1_MODE TUSB_MODE_HOST + +//--------------------------------------------------------------------+ // HOST CONFIGURATION //--------------------------------------------------------------------+ #define TUSB_CFG_HOST -//------------- CORE/CONTROLLER -------------// +//------------- CORE -------------// #define TUSB_CFG_HOST_CONTROLLER_START_INDEX 0 -#define TUSB_CFG_HOST_CONTROLLER_NUM (2 - TUSB_CFG_HOST_CONTROLLER_START_INDEX) #define TUSB_CFG_HOST_DEVICE_MAX 2 #define TUSB_CFG_CONFIGURATION_MAX 2 |
