hathach
dffe9b335e
clean up host pipe api
2018-12-10 20:26:47 +07:00
hathach
5886ccdb03
ehci clean up
2018-12-10 20:16:26 +07:00
hathach
4e7596ca9c
add tuh_mount_cb/tuh_umount_cb
2018-12-10 19:25:57 +07:00
hathach
9c4c797502
add ep addr to host cdc
2018-12-10 19:01:28 +07:00
hathach
0ae8a1aa89
remove pipe handle.dev_addr
2018-12-10 16:58:17 +07:00
hathach
a486da33ee
usbh clean up
2018-12-10 05:55:02 +07:00
hathach
57233cead7
rename usbh_xfer_isr to hcd_event_xfer_complete
2018-12-10 05:47:33 +07:00
hathach
a31f83dbb0
removing pipe handle
2018-12-10 05:44:08 +07:00
hathach
75baedf27d
removing pipe handle, remove xfer type
2018-12-10 05:33:25 +07:00
hathach
8ef93ef85d
usbh remove class code in xfer isr callback
2018-12-10 05:19:08 +07:00
hathach
ac67e0ea3f
clean up
2018-12-10 05:15:49 +07:00
hathach
6a6e7d0ecb
refactor usbh class driver
2018-12-10 05:07:22 +07:00
hathach
05913a7350
change usbh class driver open signature
2018-12-09 12:34:05 +07:00
hathach
637285e9ae
clean up ehci
2018-12-09 00:10:49 +07:00
hathach
f6f0910778
hub clean up
2018-12-08 20:56:56 +07:00
hathach
d3ac4c14a3
refactor hcd api
2018-12-08 20:51:48 +07:00
hathach
607658d047
rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED
2018-12-07 23:38:52 +07:00
hathach
e019916263
clean up ehci, support only 1 controller
2018-12-07 23:35:42 +07:00
hathach
98dd0c4d4d
clean up
2018-12-07 23:28:51 +07:00
hathach
e4fd9fbaf4
seperate control xfer to 3 tds for ohci
...
- ohci only work with 1st transfer with specific timing. TODO fix it
later
2018-12-07 23:16:06 +07:00
hathach
6c49848d59
ohci got device not response condition in control transfer
2018-12-07 22:01:26 +07:00
hathach
3ab9c2f64a
add host ea4088qs, but not work
2018-12-07 22:00:34 +07:00
hathach
2aa21a14e6
lpc17 ohci failed to execute control transfer !!
2018-12-07 18:49:26 +07:00
hathach
e6e3679136
simple cdc host demo work
2018-12-07 17:37:54 +07:00
hathach
13d08cd636
adding new hcd api, tested working with control xfer.
...
- hcd_edpt_open
- hcd_edpt_xfer
- hcd_edpt_xfer
2018-12-07 17:31:35 +07:00
hathach
9b74f0e98f
add connect to cdc for testing
2018-12-07 15:07:00 +07:00
hathach
366ab79776
able to build host hid
2018-12-07 14:57:58 +07:00
hathach
d524da0c94
enable all warnings
2018-12-07 14:49:55 +07:00
hathach
f769ecddaf
fix warning with lpcopen
2018-12-07 14:49:07 +07:00
hathach
89820a36a1
able to build with host msc
2018-12-07 12:56:42 +07:00
hathach
9478c647e3
change usbh_control_xfer name and signature
2018-12-07 12:23:37 +07:00
hathach
c93fb23693
usbh rename vars
2018-12-07 00:47:16 +07:00
hathach
2fe9abe71f
change usbh queue to generic event queue
2018-12-06 23:45:24 +07:00
hathach
ac829c0a87
minor clean up
2018-12-06 22:56:58 +07:00
hathach
07c3fd5e1e
clean up hub
2018-12-06 22:47:49 +07:00
hathach
7d3ff7aff6
rename CFG_TUSB_HOST_CDC/MSC to CFG_TUH_CDC/MSC
2018-12-06 22:24:31 +07:00
hathach
5b09774ae0
clean up usbh, rename doxygen folder to docs
2018-12-06 21:46:34 +07:00
hathach
1d3583785f
change osal_semaphore_wait to return bool
2018-12-06 17:31:25 +07:00
hathach
5f7d7a34f5
able to complete enumeration with os none blocking
2018-12-06 00:38:00 +07:00
hathach
5d4d3431c2
host port plugged isr detect, but control xfer not work
2018-12-06 00:10:49 +07:00
hathach
10d67ae25c
added ea4357 ses project
2018-12-05 21:16:23 +07:00
hathach
5a7493ed42
fix more host build error
2018-12-05 21:12:10 +07:00
hathach
2fa32bd949
able to build host lpc18xx
2018-12-05 20:39:52 +07:00
hathach
4537ba66e5
fixing build error with host stack
2018-12-05 20:26:55 +07:00
hathach
e0aa38ca8d
host 1800 blinky
2018-12-05 18:14:23 +07:00
hathach
0fb9fb605c
add host lpc18xx project
2018-12-05 18:05:12 +07:00
hathach
2babb50d6c
clean up ses project
2018-12-05 18:03:51 +07:00
hathach
27793cbd3d
fix travis build
2018-12-05 17:43:09 +07:00
hathach
d887829b4c
change usbd_init() return to bool for simplicity
2018-12-05 17:30:04 +07:00
hathach
3dc0653d70
clean up
2018-12-05 17:09:30 +07:00
hathach
6f3898572d
add role to OSAL_QUEUE_DEF() to disable correct dcd/hcd isr
2018-12-05 17:01:19 +07:00
hathach
250344ac01
Merge branch 'develop' into devlocal
2018-12-05 14:31:34 +07:00
hathach
9f3e91a934
update nrf errata
2018-12-05 14:30:47 +07:00
hathach
734b3ada8a
fix travis build error
2018-12-05 13:32:55 +07:00
hathach
a73017fdc2
hal clean up
...
- replace tusb_hal_int_enable/disable to dcd_int_enable/disable,
hcd_int_enable/disable
- remove tusb_hal_init(), this will be part of dcd_init/hcd_init,
anything beyond dcd/hcd should be inited by bsp
2018-12-05 13:20:25 +07:00
hathach
6048a3bff4
remove dcd_connect/disconnect since there is no usage now
2018-12-05 12:22:33 +07:00
hathach
c1336dff03
lpc move Chip_USB_Init() out of stack to bsp
2018-12-05 11:53:56 +07:00
hathach
9176b7b1da
renane file
2018-12-05 08:51:11 +07:00
hathach
dd9c7b4249
lpc40xx device work, moving Chip_USB_Init out of tinyusb
2018-12-05 08:47:23 +07:00
hathach
fe8346e642
move pinmux out of dcd into bsp
2018-12-04 18:38:01 +07:00
hathach
6c2404ca49
adding ea4088 quickstart, able to blink
2018-12-04 16:32:20 +07:00
hathach
261e0f9801
adding lpc40xx support
2018-12-04 16:06:50 +07:00
hathach
d7c0f0aab5
clean up mcb1800
2018-12-04 13:32:59 +07:00
hathach
7120e12971
add mcb1800, blink led ok
2018-12-04 13:17:12 +07:00
hathach
bf5ac608ff
rename dcd 18 43
2018-12-04 12:47:58 +07:00
hathach
d40663d403
added lpc18 lpcopen
2018-12-04 12:39:48 +07:00
hathach
819a03c14d
clean up
2018-12-03 23:46:28 +07:00
hathach
3a573fdd89
update pca10056, clean files
2018-12-03 23:39:34 +07:00
hathach
a39516e03d
update board metro0 and metro4
2018-12-03 23:33:40 +07:00
hathach
a9e015d619
forgot to add ea4357 files
2018-12-03 23:23:59 +07:00
hathach
1d6bbd9990
clean up dcd 43
2018-12-03 23:18:51 +07:00
hathach
29f721ba2c
dcd lpc43 clean up
2018-12-03 23:06:28 +07:00
hathach
9fec39d893
use lpcopen for lpc43x, work well
2018-12-03 22:58:21 +07:00
hathach
29416a5c1a
remove 43xx usbd rom
2018-12-03 22:54:33 +07:00
hathach
ee2deaa3ad
clean up
2018-12-03 21:25:49 +07:00
hathach
bb7123eed1
use lpcopen for ea4357, blinky ok
2018-12-03 21:22:11 +07:00
hathach
087c5d0de6
remove lpc17 usbd
2018-12-03 21:20:55 +07:00
hathach
920d88d256
clean up
2018-12-03 20:34:32 +07:00
hathach
f614586964
clean up
2018-12-03 20:33:17 +07:00
hathach
68a0e866c5
ea4357 led
2018-12-03 20:32:24 +07:00
hathach
a9161ed0d7
clean up
2018-12-03 19:04:57 +07:00
hathach
cea9abd4d0
clean up lpc13
2018-12-03 19:02:35 +07:00
hathach
f8ea10dc9a
update board led to use only one led
2018-12-03 18:48:43 +07:00
hathach
7f55bbaf05
clean up
2018-12-03 18:32:06 +07:00
hathach
28d7408b3f
fix compiler warning
2018-12-03 18:02:03 +07:00
hathach
9e33f19378
clean up
2018-12-03 17:47:37 +07:00
hathach
72db014f2c
remove legacy lpc17 prph driver
2018-12-03 17:44:08 +07:00
hathach
63faea3929
migrate lpc17 to lpcopen, usb device work ok
2018-12-03 17:43:16 +07:00
hathach
5f10584983
moving lpc17xx to use lpcopen
2018-12-03 17:28:38 +07:00
hathach
f898f8f7a4
move lpc_chip_13xx files
2018-12-03 16:38:29 +07:00
hathach
ea37c96d15
remove legacy lpc11u chip driver
2018-12-03 16:33:54 +07:00
hathach
b2b1704f10
use flash for msc_disk_ram in case mcu does have enough sram
2018-12-03 16:30:39 +07:00
hathach
786b04e19d
correct memory placement for lpc13. CDC work well
2018-12-03 16:23:38 +07:00
hathach
f9ae8fa5d2
fix board issue with lpcxpresso 1347
2018-12-03 16:13:44 +07:00
hathach
66bd9f0a16
wrap up lpc11u port
2018-12-03 13:15:28 +07:00
hathach
f28a15a886
clean up dcd lpc11u
2018-12-03 12:31:03 +07:00
hathach
57f7c18d77
dcd lpc11u6x work with cdc + msc
2018-12-03 00:04:55 +07:00
hathach
5848dd2895
lpc11u use USBSRAM, able to response with 1st request
2018-12-02 02:13:48 +07:00
hathach
fb842bb804
lp11u able to receive setup packet
2018-12-01 22:21:54 +07:00
hathach
89d96b92af
fix lpc11u68 bsp issue, able to blink
2018-12-01 21:58:24 +07:00