hathach
79e277d323
go through all the enumeration (up to get full configuration)
...
- fix init_qhd for address 0 (clear queue head --> ehci controller halted)
- fix bug in usbh_init missing address0 for semaphore create
TUSB_CFG_DEBUG == 3: --> ATTR_ALWAYS_INLINE is null --> allow gcc to export "normal inline" function
2013-03-13 00:02:45 +07:00
hathach
d2bd80109e
add semaphore post in usbh_isr for control pipe
...
add osal_queue_send in usbh_device_plugged
add macro for placing breakpoint macros
fix ehci init:
- regs->cmd or (add run_stop)
- enable port power in portsc
add tusb_task_runner in main loop
2013-03-12 20:04:29 +07:00
hathach
c6b220c327
update keil file
2013-03-12 15:08:35 +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
a259be6edf
refractor
...
- remove TUSB_CFG_HOST_CONTROLLER_START_INDEX
2013-03-04 18:01:05 +07:00
hathach
e1033b9b3c
replace TUSB_CFG_HOST by MODE_HOST_SUPPORTED
...
move stuffs around
2013-03-04 17:07:14 +07:00
hathach
94c004724c
allow configure host/device by controller basic
...
- make changes to adapt
add mcu_capacity.h
2013-03-04 16:21:41 +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
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
489b98cb93
add TUSB_CFG_HOST_CONTROLLER_START_INDEX
...
update usbh_init and test code for TUSB_CFG_HOST_CONTROLLER_START_INDEX
clean up some
2013-02-08 12:12:10 +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
9a1bda1633
house keeping
2013-01-27 16:19:18 +07:00
hathach
535f330026
update license year from 2012 to 2013
2013-01-27 13:50:40 +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
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
480ddb4fec
start to add bsp and build configuration for embedded artist 4357
2013-01-17 11:03:43 +07:00
hathach
10009cba99
add initial support for output using ITM via SWO (not tested though)
2013-01-17 02:04:47 +07:00
hathach
aae51e985f
refractor board and start to add support for SWO retarget
2013-01-17 01:09:58 +07:00
hathach
c004cd4387
add uart for lpc11uxx and retarget successfully
2013-01-16 12:43:17 +07:00
hathach
0cec7910a0
update project setting to have most warning option enable with simple switch on/off (off for faster compiling time)
2013-01-15 14:41:19 +07:00
hathach
6e0818c901
re-target printf to uart successful on LPCXpresso1347
2013-01-11 22:43:54 +07:00
hathach
e935f29541
tested keyboard device with lpcXpresso1347 board
2013-01-11 20:49:46 +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
83bb44510a
update makefile project
...
back to use lpcxpresso project file (instead of make target project)
2013-01-11 16:10:16 +07:00
hathach
1f3c9ed69d
start add makefile for keyboard demo
2013-01-10 16:46:52 +07:00
hathach
f4fa62e032
clean up
2012-12-27 02:33:51 +07:00
hathach
a2e1fc4a73
fix device example build errors
2012-12-20 17:13:22 +07:00
hathach
8c2ec83c59
rename macro configure in examples
2012-12-20 16:59:43 +07:00
hathach
ec4a3f6048
cleaning
2012-12-18 15:08:30 +07:00
hathach
e4a69a6f71
running blinking example
2012-12-10 16:10:24 +07:00
hathach
4ec23ea786
add build and project settings for lpc43xx
2012-12-10 15:59:10 +07:00
hathach
3eb7465e5e
abstract usb enable/disable interrupt to hal layer
2012-12-10 14:58:25 +07:00
hathach
b52b3b1cef
finalize building process. Now I can focus on developing the stack (finally)
2012-12-07 18:09:01 +07:00
hathach
70e3a13951
change building process yes, again
2012-12-07 17:59:46 +07:00
hathach
cd74f4f0ed
work with lpc11u37 (lpc11uxx) on kevin's board
2012-12-07 16:22:47 +07:00
hathach
cc45f35d70
fix descriptors for device
2012-12-07 10:53:52 +07:00
hathach
6049b6d0df
make fundamental changes in project building
...
add some makefile.defs
2012-12-07 01:31:09 +07:00
hathach
f31ade6151
add board abstract layer
...
rename arch to mcu
2012-12-04 18:18:29 +07:00
hathach
8f00307986
fixed building errors with device example
2012-12-04 11:30:34 +07:00
hathach
6ea85a569a
added IAD descriptor
2012-12-03 18:43:35 +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
b8b92e1202
hid mouse working
2012-11-29 16:32:49 +07:00
hathach
851f5bfd06
make keyboard device work with lpc1347
2012-11-28 11:53:23 +07:00