hathach
c036efff1d
adding code to allow configure MIC2555 to pull down D+/D- (still need bit bangding I2C on PB_0 PB_1)
...
add back port reset after get 8 bytes of device descriptor
2013-04-09 02:13:18 +07:00
hathach
b0a54cbf8f
amend last commit
2013-04-08 15:01:04 +07:00
hathach
94e25880dc
- add scu_pinmux(0x2, 5, MD_PLN | MD_EZI | MD_ZI, FUNC2); // USB1_VBUS monitor presence
...
- USB1 host run ok with NGX4330
2013-04-08 14:57:00 +07:00
hathach
95df92055c
fix board uart init with NGX4330 (use UART0)
...
add USB1_PWR_EN (GPIO5[6])
2013-04-08 02:36:43 +07:00
hathach
1776bb53f6
add hal init for USB1 and trying to get USB1 working
...
add hack delay 100 ms after a port reset (huge) for correct speed detection
2013-04-07 03:40:24 +07:00
hathach
e658e67ebe
fix the damn bug within 10 line of code in keyboard_app.c
2013-03-29 00:20:27 +07:00
hathach
03d045ecde
- put ATTR_UNUSED to hardfault handler variables to discard compiler warning
...
- change host_class_driver_t: open_subtask signature to accept tusb_descriptor_interface_t const * instead of uint8_t*
2013-03-26 12:14:04 +07:00
hathach
56cd8be75e
change website from tinyusb.net to tinyusb.org
2013-03-25 11:46:30 +07:00
hathach
dbaf6c0d30
- fix bug when unplugged unmounted-already device (mostly plugged when power on)
...
- add hal_debugger_is_attached & hal_debugger_breakpoint
- assert will suspend (place breakpoint) if the condition is failed and debugger is attached. Otherwise, a message to uart is printed
- fix get control qhd function when dev_addr is not zero (shifted 1)
- fix wrong logic for unsupported class
2013-03-22 17:08: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
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
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
535f330026
update license year from 2012 to 2013
2013-01-27 13:50:40 +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
6e0818c901
re-target printf to uart successful on LPCXpresso1347
2013-01-11 22:43:54 +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
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
6049b6d0df
make fundamental changes in project building
...
add some makefile.defs
2012-12-07 01:31:09 +07:00