diff options
| author | hathach <[email protected]> | 2014-04-28 11:51:10 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-04-28 14:20:00 +0700 |
| commit | 05c767313d0efd10d5b07b5b2f9b3d69a361075d (patch) | |
| tree | ced61eeb3c9ef7b170aaad9eca51c75e6ba84648 /tests | |
| parent | b5a5b4152e6fd58c1e7b5052ec5cd0c13eea1608 (diff) | |
make freertos source unmodified to ease the upgrade process later
use CGU_GetPCLKFrequency as configCPU_CLOCK_HZ for lpc43xx using with freeRTOS
move portmarco.h include to FreeRTOSConfig.h to have untouched version of freertos
add a readme.md to vendor/freertos
refractor usbh.c, increase POWER_STABLE_DELAY = 500, RESET_DELAY = 200
fix bug with hub, only handle 1 port at a time when reading hub status change endpoint --> other port will be handled in the next cycle
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c b/tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c index c11a8ede7..6b548577f 100644 --- a/tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c +++ b/tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c @@ -67,8 +67,8 @@ void semaphore_wait_success_stub(osal_semaphore_handle_t const sem_hdl, uint32_t tusb_error_t control_xfer_stub(uint8_t dev_addr, const tusb_control_request_t * const p_request, uint8_t data[], int num_call); enum { - POWER_STABLE_DELAY = 300, - RESET_DELAY = 100 // NXP's EHCI require more than 50ms to work properly although the USB specs say only 50ms + POWER_STABLE_DELAY = 500, + RESET_DELAY = 200 // USB specs say only 50ms though many devices requires a longer time }; void setUp(void) |
