49da210860add osal subtask support add usbh_control_xfer_subtask as xfer and wait fix potential error when update device info & open control pipe for new address fix build error with hal_****.c add STATIC_ASSSERT to perform compile time checking with sizeof later update osal_queue_receive and osal_semaphore_wait for osal_none to support subtask
hathach
2013-02-26 17:28:05 +07:00
ac744b0401refractor use Compound Literal Reference for sending control request in enum task
hathach
2013-02-22 17:14:34 +07:00
5bacdc6c0fupdating usbh init with class init
hathach
2013-02-08 12:52:46 +07:00
489b98cb93add TUSB_CFG_HOST_CONTROLLER_START_INDEX update usbh_init and test code for TUSB_CFG_HOST_CONTROLLER_START_INDEX clean up some
hathach
2013-02-08 12:12:10 +07:00
ef0e105da6rename addr variable to avoid conflict with static variable
hathach
2013-02-07 19:42:41 +07:00
89f74d22a7flatten enum task --> there is quite of code duplication
hathach
2013-02-06 18:56:49 +07:00
e6ed1729b2update enumeration up to get full configuration descriptor
hathach
2013-02-06 18:12:26 +07:00
060c4b3b30refractor move device_addr0 into usbh_device_pool enum_entry contains speed and enum task will not carry out disconnection clean up
hathach
2013-02-06 16:52:18 +07:00
7961f04e17remove hcd_addr0_close_Ignore add code to check error handling from enum task
hathach
2013-02-06 13:50:17 +07:00
a253e4d648fix TASK_ASSERT for osal_none.h add TASK_ASSERT test for osal_none integrate test project better with eclipse - assert message--> info windows - test fail --> error windows
hathach
2013-02-06 13:15:12 +07:00
e20025b54drefractor move test enum to its own file add assert with handler add task assert with error catcher
hathach
2013-02-06 12:03:01 +07:00
aeccdfde3fremove TUSB prefix for class enum definitions add most of HID USAGE TABLE and definitions etc ...
hathach
2013-02-05 13:57:06 +07:00
aa040c4c98rename device_info_pool to usbh_device_info_pool update enum task to post set address
hathach
2013-02-04 21:52:50 +07:00
93269b0343fix osal_semaphore_wait & osal_queue_receive of osal_none's bug - not assign error to TUSB_ERROR_NON if succeed
hathach
2013-02-04 20:54:52 +07:00
f88e9d045dadd test file freeRTOS
hathach
2013-02-04 18:07:26 +07:00
5e8d70a184complete define osal_freeRTOS for semaphore and queue
hathach
2013-02-04 18:05:22 +07:00
dd9da7846aport osal_FreeRTOS, add some include to be able to mock & link change osal_none's queue_t member from uint16_t to uint8_t
hathach
2013-02-04 17:13:26 +07:00
0a13e37ba2resolve conflict between usbh & hcd
hathach
2013-02-04 14:48:35 +07:00
4f3b76cabarename test file for usbh
hathach
2013-02-04 13:54:14 +07:00
94486f55ecadd usbh_hcd to hold common structure/typedef for usbh and hcd
hathach
2013-02-04 13:51:20 +07:00
a5b29c5d33refractor include chain with following policies - header file only include what it needs for its declarations.
hathach
2013-02-04 13:13:07 +07:00
5ec56120e6rename usbd_host to usbh
hathach
2013-02-04 12:29:50 +07:00
5f8839fff8refine ASSERT_DEFINE to allow special error_handler for os task add device_addr0 for enumeration task start to add osal port for freeRTOS
hathach
2013-02-04 00:03:08 +07:00
3ac88f1b4erefine 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
hathach
2013-02-02 15:36:20 +07:00
a25da9d3eehouse keeping add some more logic for enum task
hathach
2013-02-01 14:21:22 +07:00
c24d461d19add timeout to queue_receive and update test code for it
hathach
2013-02-01 12:39:39 +07:00
aab92b40d2change osal_timeout_t to uint32_t implement osal_tick_get & osal_tick_tock for osal_none implement timeout for osal_semaphore_wait
hathach
2013-02-01 12:00:34 +07:00
9e3785e7e1add 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
hathach
2013-02-01 10:33:43 +07:00
1b963f6a71change cmock ignore to args only implementing usbh_host.c
hathach
2013-01-31 13:11:50 +07:00
bef17fb67fadd version macros
hathach
2013-01-31 11:47:07 +07:00
eca87e5ee5add ASSERT_BIN8 and its test code add some common api for task in osal.h for mocking
hathach
2013-01-31 11:05:33 +07:00
658b2b970cchange semaphore to volatile uint8_t add osal_queue_receive code and its test *NOTE* - consideration for semaphore & queue with hal_interrupt_disable/hal_interrupt_enable as safe guard
hathach
2013-01-30 23:29:27 +07:00
c1bf187dadadd osal queue service & its test code - create, send
hathach
2013-01-30 17:53:37 +07:00
9c9fa182d4fix mocking osal api using ifdef start to add task_create macro API for osal_none
hathach
2013-01-30 12:55:44 +07:00
07048b943eadd 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
hathach
2013-01-30 11:35:37 +07:00
6db8af2023update usbh_init and test
hathach
2013-01-29 11:06:30 +07:00
06f923c7bbadd 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
hathach
2013-01-27 17:57:35 +07:00
535f330026update license year from 2012 to 2013
hathach
2013-01-27 13:50:40 +07:00
f613c32422add STATIC for local variables
hathach
2013-01-27 13:16:30 +07:00
a22cfb2deeremove violation MISRA 6.3 on errors
hathach
2013-01-27 12:38:06 +07:00
5feb1c90b4add class_hid_keyboard_init and test code add define _TINY_USB_SOURCE_FILE_ to hide internal API from application
hathach
2013-01-27 12:18:01 +07:00
d286c95765add check device API for stack usage bool usbh_device_is_plugged(tusb_handle_device_t const device_hdl);
hathach
2013-01-26 02:25:56 +07:00
7edda37518add more test code for keyboard hid application API refractor, restructure, rename several thing regarding host, keyboard etc ...
hathach
2013-01-26 01:37:15 +07:00
fdc9a82e8cchange configure handle to device handle change test case accordingly
hathach
2013-01-23 14:57:12 +07:00
3015776078Merge branch 'master' of github.com:hathach/tinyusb
hathach
2013-01-22 18:26:51 +07:00
b5207ff146use unsigned char instead of char for error string use #if 0 instead of // for remove code
hathach
2013-01-22 18:19:05 +07:00
b81561b436use unsigned char instead of char for error string use #if 0 instead of // for remove code
hathach
2013-01-22 18:19:05 +07:00
38ce3f7534start to support - usbd host - osal
hathach
2013-01-22 17:41:06 +07:00
cfe7a3d23bchange error type to lower case for more consistency change Error Enum to TUSB prefix for more consistency start to add check for OS configure
hathach
2013-01-19 00:57:58 +07:00
d8c8b9e38aadd 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
hathach
2013-01-18 14:39:42 +07:00
7976e2fd55prepare test project for 43xx host test
hathach
2013-01-18 12:41:30 +07:00
25f6cee73badd DEVICE_ROM_DRIVER_ADDR macro in hal to point to rom driver add add TUSB_ATTR_RAM_SECTION in tinyusb_config.h to abtract usb ram placement to application remove power_api.h (mcu dependency)
hathach
2013-01-18 11:49:51 +07:00
c16632da0badd UART support for ea4357 (tested)
hathach
2013-01-17 14:40:46 +07:00
480ddb4fecstart to add bsp and build configuration for embedded artist 4357
hathach
2013-01-17 11:03:43 +07:00
10009cba99add initial support for output using ITM via SWO (not tested though)
hathach
2013-01-17 02:04:47 +07:00
aae51e985frefractor board and start to add support for SWO retarget
hathach
2013-01-17 01:09:58 +07:00
53739ccd28rename some fifo functions to be more consistent
hathach
2013-01-16 22:37:10 +07:00
095129887edelete mcu folders as it duplicate hal folders
hathach
2013-01-16 22:23:17 +07:00
8155fd38a5added some tests for fifo.c
hathach
2013-01-16 13:25:02 +07:00
c004cd4387add uart for lpc11uxx and retarget successfully
hathach
2013-01-16 12:43:17 +07:00
54a7668177add test_fifo.c file template, add its test code soon
hathach
2013-01-15 15:22:48 +07:00
0cec7910a0update project setting to have most warning option enable with simple switch on/off (off for faster compiling time)
hathach
2013-01-15 14:41:19 +07:00
0c1d4f705badd binary const & its test code
hathach
2013-01-14 14:36:13 +07:00
3d8babcb14refractor to remove duplicate code between ASSERT_HEX and ASSERT_INT use static inline min_of and max_of instead of macro
hathach
2013-01-14 00:41:23 +07:00
b7b9531b9bdone with ASSERT_INT_WITHIN
hathach
2013-01-13 20:26:51 +07:00
beb20b975badd ASSERT_INT_WITHIN and its test code
hathach
2013-01-13 20:09:51 +07:00
1deac98969add ASSERT_INT, ASSERT_INT_EQUAL and test code for it
hathach
2013-01-13 20:00:01 +07:00
463b1c0294rename ASSERT_ERROR to ASSERT_STATUS add binary const support @ common/binary.h enhance assert support @ common/assertion.h add test code for assertion.h
hathach
2013-01-13 19:27:17 +07:00
6e0818c901re-target printf to uart successful on LPCXpresso1347
hathach
2013-01-11 22:43:54 +07:00
e935f29541tested keyboard device with lpcXpresso1347 board
hathach
2013-01-11 20:49:46 +07:00
d76df54003add external configure file: tusb_config.h rename the internal/default configure from tusb_cfg.h to tusb_option.h
hathach
2013-01-11 16:55:47 +07:00
a6e5197b58use X Macros to remove #undef in errors.
hathach
2013-01-11 16:28:57 +07:00
83bb44510aupdate makefile project back to use lpcxpresso project file (instead of make target project)
hathach
2013-01-11 15:37:27 +07:00
1f3c9ed69dstart add makefile for keyboard demo
hathach
2012-12-27 17:28:53 +07:00
bc735bbe22- add ceedling/cmock/unity as testing framework and support - unified makefile project for the whole repos - new separate project for tests
hathach
2012-12-27 02:52:40 +07:00
f4fa62e032clean up
hathach
2012-12-27 02:29:58 +07:00
a2e1fc4a73fix device example build errors
hathach
2012-12-20 17:13:22 +07:00
8c2ec83c59rename macro configure in examples
hathach
2012-12-20 16:59:43 +07:00
f9aee11063add hal layer for lpc43xx
hathach
2012-12-20 16:58:55 +07:00
00b3f48519rename a bunch of configure macros
hathach
2012-12-20 16:56:19 +07:00