hathach
d0a73f4b0d
add several helper function
...
add test & code for hidh_keyboard_open_subtask
- skip parsing HID descriptor for keyboard
2013-03-25 17:39:22 +07:00
hathach
e20025b54d
refractor move test enum to its own file
...
add assert with handler
add task assert with error catcher
2013-02-06 12:03:01 +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
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
f613c32422
add STATIC for local variables
2013-01-27 13:16:30 +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
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
8155fd38a5
added some tests for fifo.c
2013-01-16 13:25:02 +07:00
hathach
463b1c0294
rename ASSERT_ERROR to ASSERT_STATUS
...
add binary const support @ common/binary.h
enhance assert support @ common/assertion.h
add test code for assertion.h
2013-01-13 19:27:17 +07:00
hathach
1f3c9ed69d
start add makefile for keyboard demo
2013-01-10 16:46:52 +07:00
hathach
bc735bbe22
- add ceedling/cmock/unity as testing framework and support
...
- unified makefile project for the whole repos
- new separate project for tests
2012-12-27 02:52:40 +07:00