hathach
aeccdfde3f
remove TUSB prefix for class enum definitions
...
add most of HID USAGE TABLE and definitions etc ...
2013-02-05 13:57:06 +07:00
hathach
aa040c4c98
rename device_info_pool to usbh_device_info_pool
...
update enum task to post set address
2013-02-04 21:52:50 +07:00
hathach
93269b0343
fix osal_semaphore_wait & osal_queue_receive of osal_none's bug
...
- not assign error to TUSB_ERROR_NON if succeed
add code up to set device address for enumeration
2013-02-04 20:54:52 +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
0a13e37ba2
resolve conflict between usbh & hcd
2013-02-04 14:48:35 +07:00
hathach
4f3b76caba
rename test file for usbh
2013-02-04 13:54:14 +07:00
hathach
94486f55ec
add usbh_hcd to hold common structure/typedef for usbh and hcd
2013-02-04 13:51:20 +07:00
hathach
5ec56120e6
rename usbd_host to usbh
2013-02-04 12:29:50 +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
3ac88f1b4e
refine OSAL_TASK_LOOP_BEGIN & OSAL_TASK_LOOP_END
...
- add TASK_ASSERT & TASK_ASSERT_STATUS
add more code for enumerate task
add control requests & its type def
add API for HCD
- hcd_pipe_addr0_open
- hcd_pipe_control_open
- hcd_pipe_control_xfer
- hcd_pipe_open
- hcd_port_speed
2013-02-02 15:36:20 +07:00
hathach
a25da9d3ee
house keeping
...
add some more logic for enum task
2013-02-01 14:21:22 +07:00
hathach
7fc3e4f8fe
house keeping
2013-02-01 12:46:17 +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
1b963f6a71
change cmock ignore to args only
...
implementing usbh_host.c
2013-01-31 13:11:50 +07:00
hathach
07048b943e
add primitive_types.h for portable with uint8,16,32_t, and bool
...
add osal_common.h to ease the complaint of MISRA 19.1
implement OSAL_NONE Task loop, semaphore wait/post and its test code
2013-01-30 11:35:37 +07:00
hathach
6db8af2023
update usbh_init and test
2013-01-29 11:06:30 +07:00
hathach
06f923c7bb
add usbh_device_info_t to return device status
...
add usbh_init and test code
replace usbh_device_is_plugged in hid_host and test_hid_host with usbh_device_info_t
2013-01-27 17:57:35 +07:00
hathach
5feb1c90b4
add class_hid_keyboard_init and test code
...
add define _TINY_USB_SOURCE_FILE_ to hide internal API from application
2013-01-27 12:18:01 +07:00
hathach
d286c95765
add check device API for stack usage
...
bool usbh_device_is_plugged(tusb_handle_device_t const device_hdl);
2013-01-26 02:25:56 +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
fdc9a82e8c
change configure handle to device handle
...
change test case accordingly
2013-01-23 15:01:17 +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
d8c8b9e38a
add ASSERT POINTER support
...
add hid host and separate hid host & device
update host project setting with EA4357 board
add para checking test for hid host
2013-01-18 14:39:42 +07:00
hathach
7976e2fd55
prepare test project for 43xx host test
2013-01-18 12:41:30 +07:00
hathach
e438a7ca09
house keeping
2013-01-18 12:29:54 +07:00