Commit Graph

22 Commits

Author SHA1 Message Date
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 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
hathach 53739ccd28 rename some fifo functions to be more consistent 2013-01-16 22:37:10 +07:00
hathach 095129887e delete mcu folders as it duplicate hal folders 2013-01-16 22:23:17 +07:00
hathach 8155fd38a5 added some tests for fifo.c 2013-01-16 13:25:02 +07:00
hathach c004cd4387 add uart for lpc11uxx and retarget successfully 2013-01-16 12:43:17 +07:00
hathach 54a7668177 add test_fifo.c file template, add its test code soon 2013-01-15 15:22:48 +07:00
hathach 0c1d4f705b add binary const & its test code 2013-01-14 14:36:13 +07:00
hathach 3d8babcb14 refractor to remove duplicate code between ASSERT_HEX and ASSERT_INT
use static inline min_of and max_of instead of macro
2013-01-14 00:41:23 +07:00
hathach f991475183 add assert_hex & assert_hex_within 2013-01-13 20:39:01 +07:00
hathach b7b9531b9b done with ASSERT_INT_WITHIN 2013-01-13 20:26:51 +07:00
hathach beb20b975b add ASSERT_INT_WITHIN and its test code 2013-01-13 20:09:51 +07:00
hathach 1deac98969 add ASSERT_INT, ASSERT_INT_EQUAL and test code for it 2013-01-13 20:00:01 +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
hathach ec4a3f6048 cleaning 2012-12-18 15:08:30 +07:00
hathach 50c89192d8 add unity helper script files 2012-12-12 17:25:08 +07:00
hathach 01a97b74f5 add unity to test project 2012-12-12 15:43:50 +07:00