diff options
| author | hathach <[email protected]> | 2013-02-04 00:03:08 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-02-04 00:03:08 +0700 |
| commit | 5f8839fff8ff12bbf172b5fb9a984867a0d1d8da (patch) | |
| tree | 0f983489c408ecea8d79661b40d42498a0e709ed /tests/test | |
| parent | 3ac88f1b4ec4ab83682b5c1b1589970096bbc1c4 (diff) | |
refine ASSERT_DEFINE to allow special error_handler for os task
add device_addr0 for enumeration task
start to add osal port for freeRTOS
Diffstat (limited to 'tests/test')
| -rw-r--r-- | tests/test/host/test_usbd_host.c | 2 | ||||
| -rw-r--r-- | tests/test/support/tusb_config.h | 12 |
2 files changed, 2 insertions, 12 deletions
diff --git a/tests/test/host/test_usbd_host.c b/tests/test/host/test_usbd_host.c index fc59769f0..dd3ab0f94 100644 --- a/tests/test/host/test_usbd_host.c +++ b/tests/test/host/test_usbd_host.c @@ -121,7 +121,7 @@ extern osal_queue_handle_t enum_queue_hdl; usbh_enumerate_t enum_connect = { .core_id = 0, - .hub_address = 0, + .hub_addr = 0, .hub_port = 0, .connect_status = 1 }; diff --git a/tests/test/support/tusb_config.h b/tests/test/support/tusb_config.h index aee1e3996..12bbb09ec 100644 --- a/tests/test/support/tusb_config.h +++ b/tests/test/support/tusb_config.h @@ -89,17 +89,7 @@ #define TUSB_CFG_OS TUSB_OS_NONE #define TUSB_CFG_OS_TICKS_PER_SECOND 1000 // 1 ms tick - -#ifdef __CODE_RED // make use of code red's support for ram region macros - #if (MCU == MCU_LPC11UXX) || (MCU == MCU_LPC13UXX) - #define TUSB_RAM_SECTION ".data.$RAM2" - #elif (MCU == MCU_LPC43XX) - #define TUSB_RAM_SECTION ".data.$RAM3" - #endif - - #define TUSB_CFG_ATTR_USBRAM __attribute__ ((section(TUSB_RAM_SECTION))) -#endif - +#define TUSB_CFG_ATTR_USBRAM #ifdef __cplusplus } |
