Commit Graph

23 Commits

Author SHA1 Message Date
Jeremiah McCarthy
f8fbc0930b Add alternate bitfield padding option
Adds configuration option CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, which
substitutes bitfield variable " : 0" padding syntax with an unused
variable of size equal to the remaining number of bits.

This change resolves aligned access issues for some platforms.

Default behavior is original if the option is not explicitly enabled.
2021-02-16 10:43:52 -05:00
hathach
58cedf4c06 usb0 host on mcb1800 work with fullspeed mode.
use usbh_edpt_open() to correctly map ep2drv[]
2020-05-19 00:55:43 +07:00
hathach
905a80d1b2 temporarily remove osal_task_delay() from osal
- add hcd_uframe_number() API, update EHCI to return uframe number
- get host running on ea4357
2020-05-04 14:11:58 +07:00
hathach
13e01c7dca add TU_ prefix to compiler ATTR to prevent name conflict with application 2019-06-06 10:39:37 +07:00
hathach
61ec407752 update license year to 2019 2019-05-14 11:48:05 +07:00
hathach
c211ee19dd migrate license from BSD 3 clause to MIT 2019-03-20 16:11:42 +07:00
hathach
2a60427bdc rename bit_* helper to tu_bit_*, BIT_* to TU_BIT_* for consistency 2018-12-14 15:30:54 +07:00
hathach
67d6d753d6 replace all hcd pipe close by hcd_device_remove 2018-12-12 00:00:33 +07:00
hathach
c94df51503 more clean up 2018-12-11 19:35:08 +07:00
hathach
364666c206 ehci clean up 2018-12-11 17:05:56 +07:00
hathach
b8c63ff624 ehci struct rename 2018-12-11 13:01:07 +07:00
hathach
b0717275c8 ehci periodic 2018-12-11 10:50:05 +07:00
hathach
7a626dbc8b completely remove pipe handle for cdc/hub/ehci 2018-12-11 00:56:21 +07:00
hathach
9c3c782b64 host msc built but got hardfault with inquiry command 2018-12-10 22:11:02 +07:00
hathach
5886ccdb03 ehci clean up 2018-12-10 20:16:26 +07:00
hathach
9c4c797502 add ep addr to host cdc 2018-12-10 19:01:28 +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
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
e019916263 clean up ehci, support only 1 controller 2018-12-07 23:35:42 +07:00
hathach
e07b1acbed rename VERIFY to TU_VERIFY to avoid conflict with application 2018-08-13 18:10:23 +07:00
hathach
424735d440 rename subfolder source to src 2018-06-18 14:05:24 +07:00