hathach
a2031e6218
refractor hidh_keyboard_open
2013-03-25 20:57:27 +07:00
hathach
f5e7644a1e
fix const discard warning
2013-03-25 18:07:33 +07:00
hathach
2622cc487b
add more test and complete keyboard open
2013-03-25 17:57:33 +07:00
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
c026a9f2e0
remove obsolete TUSB_CFG_HOST_HID_KEYBOARD_ENDPOINT_SIZE
...
temporarily ignore test for hid_host.c due to ceedling linking issue with weak symbol
implement hidh_open_subtask driver to subclass open
rename hidh_keyboard_install to hidh_keyboard_open_subtask
2013-03-25 16:02:24 +07:00
hathach
45db7b4a53
able to build test hidh
...
hack include in hid_host_keyboard.h
2013-03-25 13:51:44 +07:00
hathach
ddeec330fa
separate hidh_keyboard from hid_host
...
move test hid related to its own folder
2013-03-25 13:08:40 +07:00
hathach
56cd8be75e
change website from tinyusb.net to tinyusb.org
2013-03-25 11:46:30 +07:00
hathach
c7c993d6cc
refractor hidh keyboard
...
changing class hidh behavior
2013-03-24 21:40:49 +07:00
hathach
a1b17be681
add class flags
...
change keyboard_info_pool to keyboard_data
2013-03-24 17:29:07 +07:00
hathach
439a3134b9
refractor
...
- rename tusbh_device_status_get to tusbh_device_get_state
- replace tusbh_device_status_t by tusb_device_state_t
2013-03-24 16:02:45 +07:00
hathach
ce63980386
clean up:
...
- refractor tusb_handle_device_t device_hdl to uint8_t dev_addr
add keyboard_app.c/h
2013-03-24 15:50:49 +07:00
hathach
4adfc6a6d8
change signature usbh_isr to add tusb_bus_event_t parameter
...
change singature of call_isr as well
2013-03-23 15:00:56 +07:00
hathach
e14864759d
refractor
...
- rename TUSB_DEVICE_STATE_READY to TUSB_DEVICE_STATE_CONFIGURED
- move device_state to core/tusb_types.h
- remove usbh_device_hcd_data_cleaned_up_cb, hcd now set the state directly
2013-03-23 12:13:02 +07:00
hathach
d7ba86c85e
refractor
...
- rename usbh_device_info_t.status to state
- rename enum TUSB_DEVICE_STATUS_* to TUSB_DEVICE_STATE_*
2013-03-23 11:34:51 +07:00
hathach
97c9001d40
add hard fault handler to bsp.c
...
rename class_install_subtask to class_open_subtask
add class_close for unmount
adding code for usbh_device_unplugged_isr & invoke it in hcd_isr
2013-03-13 10:57:30 +07:00
hathach
453ea39865
add project file for keil
...
fix binary.h compiler specific
add hal_init code to reset & set usbmode --> able to get USB ISR
remove const qualifier from return function of
- get_operational_register
- get_period_frame_list
- get_async_head
- get_period_head
- get_control_qhd
add stub for
- hcd_port_connect_status
- hcd_port_speed
2013-03-12 12:06:40 +07:00
hathach
c1ceec067f
add isr empty function for hidh and msch and usbh
2013-03-10 19:42:50 +07:00
hathach
ef9eb1f2fa
- fix wrong class code for TUSB_CLASS_APPLICATION_SPECIFIC
2013-03-09 14:31:37 +07:00
hathach
b1db85dedf
- addd p_qtd_list_tail to qhd structure for easy queue TD
...
- move control_request from ehci_data to usbh_device_info_pool
- add test for bulk transfer double (2 consecutive xfers)
- use table (array) structure for class driver, currently included
- refractor extract to function insert_qtd_to_qhd
+ init function
+ install_subtask
--> all class driver function must be declared with WEAK
2013-03-09 13:11:02 +07:00
hathach
b3775b631b
add test & code for open bulk transfer to hcd_pipe_open()
2013-03-05 23:08:00 +07:00
hathach
e1033b9b3c
replace TUSB_CFG_HOST by MODE_HOST_SUPPORTED
...
move stuffs around
2013-03-04 17:07:14 +07:00
hathach
0c397c6b8d
house keeping
...
- correct initialization call sequence
- move hcd_init to ehci.c
2013-02-27 18:49:28 +07:00
hathach
5eca6d69c3
correct error using local p_interface_desc with subtask invoke (require static)
2013-02-27 02:14:01 +07:00
hathach
4023d07df0
add parsing configuration desc & invoke driver install subtask
2013-02-27 01:57:40 +07:00
hathach
49da210860
add 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
2013-02-26 17:28:05 +07:00
hathach
5bacdc6c0f
updating usbh init with class init
2013-02-08 12:52:46 +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
aeccdfde3f
remove TUSB prefix for class enum definitions
...
add most of HID USAGE TABLE and definitions etc ...
2013-02-05 13:57:06 +07:00
hathach
94486f55ec
add usbh_hcd to hold common structure/typedef for usbh and hcd
2013-02-04 13:51:20 +07:00
hathach
5ec56120e6
rename usbd_host to usbh
2013-02-04 12:29:50 +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
f613c32422
add STATIC for local variables
2013-01-27 13:16:30 +07:00
hathach
a22cfb2dee
remove violation MISRA 6.3 on errors
2013-01-27 12:38:06 +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
d286c95765
add check device API for stack usage
...
bool usbh_device_is_plugged(tusb_handle_device_t const device_hdl);
2013-01-26 02:25:56 +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
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
3ffda2033a
clear 19.1
2013-01-22 18:09:58 +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
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
25f6cee73b
add 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)
2013-01-18 11:49:51 +07:00
hathach
c16632da0b
add UART support for ea4357 (tested)
2013-01-17 14:40:46 +07:00
hathach
53739ccd28
rename some fifo functions to be more consistent
2013-01-16 22:37:10 +07:00
hathach
e935f29541
tested keyboard device with lpcXpresso1347 board
2013-01-11 20:49:46 +07:00
hathach
f4fa62e032
clean up
2012-12-27 02:33:51 +07:00
hathach
00b3f48519
rename a bunch of configure macros
2012-12-20 16:56:19 +07:00
hathach
cd74f4f0ed
work with lpc11u37 (lpc11uxx) on kevin's board
2012-12-07 16:22:47 +07:00
hathach
82820a2066
able to build with lpc43xx demo
2012-12-04 14:12:48 +07:00
hathach
8f00307986
fixed building errors with device example
2012-12-04 11:30:34 +07:00
hathach
b698b09a67
fix some doxygen settings and stuffs add prepacked for IAR compiler
2012-12-03 16:51:14 +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
2dd9501f37
update doxygen
2012-11-29 16:58:12 +07:00
hathach
b8b92e1202
hid mouse working
2012-11-29 16:32:49 +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
851f5bfd06
make keyboard device work with lpc1347
2012-11-28 11:53:23 +07:00