Commit Graph

25 Commits

Author SHA1 Message Date
hathach 5e8d70a184 complete define osal_freeRTOS for semaphore and queue 2013-02-04 18:05:22 +07:00
hathach a5b29c5d33 refractor include chain with following policies
- header file only include what it needs for its declarations.
2013-02-04 13:13:07 +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 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 a22cfb2dee remove violation MISRA 6.3 on errors 2013-01-27 12:38:06 +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 b5207ff146 use unsigned char instead of char for error string
use #if 0 instead of // for remove code
2013-01-22 18:25:26 +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 d76df54003 add external configure file: tusb_config.h
rename the internal/default configure from tusb_cfg.h to tusb_option.h
2013-01-11 16:55:47 +07:00
hathach a6e5197b58 use X Macros to remove #undef in errors. 2013-01-11 16:28:57 +07:00
hathach 1f3c9ed69d start add makefile for keyboard demo 2013-01-10 16:46:52 +07:00
hathach 00b3f48519 rename a bunch of configure macros 2012-12-20 16:56:19 +07:00
hathach b698b09a67 fix some doxygen settings and stuffs add prepacked for IAR compiler 2012-12-03 16:51:14 +07:00
hathach b36a85ad36 add extern "C" for cpp
start to work on hal layer
2012-12-02 11:07:59 +07:00
hathach 8a1dee1b2e add overview.md and license.md and tinyUSB overview.png 2012-12-02 00:36:44 +07:00
hathach 879fb21f99 change license email to website
added support for cdc devices
2012-11-29 17:52:57 +07:00
hathach 8f57cb6ccb house keeping 2012-11-29 15:57:44 +07:00
hathach 360b28b44f add more doxygen docs
start to use TUSB_Error_t
2012-11-29 15:35:59 +07:00
hathach 8cd811e2a9 start to work with doxygen
fix mem_size/mem_base usage with device rom driver
2012-11-29 10:41:33 +07:00
hathach 829c8672bb added _cplusplus extern wrapper 2012-11-27 15:35:57 +07:00
hathach 06c16ae03f added files
added some template code
2012-11-27 15:21:47 +07:00