Commit Graph

10 Commits

Author SHA1 Message Date
hathach 7fc3e4f8fe house keeping 2013-02-01 12:46:17 +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 9c9fa182d4 fix mocking osal api using ifdef
start to add task_create macro API for osal_none
2013-01-30 12:55:44 +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 535f330026 update license year from 2012 to 2013 2013-01-27 13:50:40 +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