hathach
c0bbc2aded
refractor tests
2013-03-05 15:23:12 +07:00
hathach
3ed29f5f3c
add test & code for hcd_pipe_control_open
2013-03-05 14:26:36 +07:00
hathach
2c8596edeb
abstract call chains from hal usb isr
2013-03-04 18:46:02 +07:00
hathach
a259be6edf
refractor
...
- remove TUSB_CFG_HOST_CONTROLLER_START_INDEX
2013-03-04 18:01:05 +07:00
hathach
e1033b9b3c
replace TUSB_CFG_HOST by MODE_HOST_SUPPORTED
...
move stuffs around
2013-03-04 17:07:14 +07:00
hathach
94c004724c
allow configure host/device by controller basic
...
- make changes to adapt
add mcu_capacity.h
2013-03-04 16:21:41 +07:00
hathach
72b42054e5
refractor
2013-03-03 12:37:44 +07:00
hathach
356c329922
implement hcd_init controller_init
...
- add test for async list
2013-03-03 12:31:18 +07:00
hathach
68ff7365c5
rename ehci usb_int usb_sts usb/error field
...
move MCU define to tusb_option.h
2013-03-01 19:32:53 +07:00
hathach
b1d33c7ffc
rename tusbh_device_mount_succeed_cb
...
add set configure and tusbh_device_mount_succeed_cb invocation
refractor get_configure_number_for_device
2013-02-27 12:42:32 +07:00
hathach
489b98cb93
add TUSB_CFG_HOST_CONTROLLER_START_INDEX
...
update usbh_init and test code for TUSB_CFG_HOST_CONTROLLER_START_INDEX
clean up some
2013-02-08 12:12:10 +07:00
hathach
d71e244dff
add TUSB_CFG_HOST_ENUM_BUFFER_SIZE
...
add enum buffer
getting serious with osal_freeRTOS
2013-02-04 16:07:42 +07:00
hathach
5f8839fff8
refine ASSERT_DEFINE to allow special error_handler for os task
...
add device_addr0 for enumeration task
start to add osal port for freeRTOS
2013-02-04 00:03:08 +07:00
hathach
aab92b40d2
change osal_timeout_t to uint32_t
...
implement osal_tick_get & osal_tick_tock for osal_none
implement timeout for osal_semaphore_wait
2013-02-01 12:25:02 +07:00
hathach
9e3785e7e1
add std=gnu99 for test build
...
add hcd_init to usbh_init and update test code
add TUSB_CFG_OS_TICK_PER_SECOND define for TUSB_OS_NONE
change osal_semaphore_wait and osal_queue_receive API to have timeout effectively
2013-02-01 10:33:43 +07:00
hathach
7edda37518
add more test code for keyboard hid application API
...
refractor, restructure, rename several thing regarding host, keyboard etc ...
2013-01-26 01:37:15 +07:00
hathach
38ce3f7534
start to support
...
- usbd host
- osal
some global define
#define TUSB_CFG_HOST_CONTROLLER_NUM
#define TUSB_CFG_HOST_DEVICE_MAX
#define TUSB_CFG_CONFIGURATION_MAX
rename & refractor HID type structure & enum
use CException to test asssertion library
add test for hid_host_keyboard with usbd configure get & osal queue get stubs
update test for assertion library
refractor ASSERT_STATUS in assertion library
update tusb_error_t values
rename usb basic type & enum in tusb_types.h and std_descriptors.h
2013-01-22 17:41:06 +07:00
hathach
cfe7a3d23b
change error type to lower case for more consistency
...
change Error Enum to TUSB prefix for more consistency
start to add check for OS configure
2013-01-19 00:57:58 +07:00
hathach
7976e2fd55
prepare test project for 43xx host test
2013-01-18 12:41:30 +07:00