allow configure host/device by controller basic

- make changes to adapt
add mcu_capacity.h
This commit is contained in:
hathach
2013-03-04 16:21:41 +07:00
parent 656da2992d
commit 94c004724c
9 changed files with 135 additions and 30 deletions
+1 -1
View File
@@ -303,7 +303,7 @@ void test_register_portsc(void)
//--------------------------------------------------------------------+
void test_ehci_data(void)
{
for(uint32_t i=0; i<TUSB_CFG_HOST_CONTROLLER_NUM; i++)
for(uint32_t i=0; i<CONTROLLER_HOST_NUMBER; i++)
{
uint8_t hostid = i+TUSB_CFG_HOST_CONTROLLER_START_INDEX;
TEST_ASSERT_BITS_LOW(4096-1, (uint32_t)get_period_frame_list(hostid) );