Commit Graph

20 Commits

Author SHA1 Message Date
hathach
a6723f556d add ncm.h for magic number
mostly clean up magic number
2021-10-11 12:36:03 +07:00
Peter Lawrence
03d7988df3 add NCM driver in a compatible manner : hathach/tinyusb#550 2021-09-25 17:05:58 -05:00
hathach
15112fdbba clean up compiler 2021-07-22 22:10:48 +07:00
hathach
c4da1abb1e rename bit filed order
clean up packed/bit order begin end
2021-07-22 17:30:08 +07:00
hathach
4e50ceba48 rename packed begin/end 2021-07-22 17:07:39 +07:00
Wini-Buh
1c23462b43 weak atrribute work around removed from CCRX_Port 2021-06-11 22:25:36 +02:00
Wini-Buh
b4f092ec74 Adaptations for Renesas CCRX toolchain and Rx72N controller performed 2021-05-29 21:23:39 +02:00
Jeremiah McCarthy
21f1cd4ec7 Implement requested PR changes
Removes CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, and makes the manual padding
behavior standard.  Replaced unused variable name with TU_RESERVED.
2021-02-18 13:26:03 -05:00
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
Jacob Potter
3ea8138750 Rename CDC_COMM_SUBCLASS_ETHERNET_NETWORKING_CONTROL_MODEL
This was a confusing name; "Ethernet control model" (CDC ECM)
and "network control model" (CDC NCM) are two separate USB subclasses.
2020-10-31 10:57:53 -06:00
Nathan Conrad
25c1bea782 Normalize line endings 2020-01-15 14:47:43 -05:00
hathach
6991b28532 improving midi support, adding midi exmaple
rename TUSB_DESC_CLASS_SPECIFIC to TUSB_DESC_CS_INTERFACE
2019-07-01 22:38:06 +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
394a22ecf7 remove pragma GCC diagnostic 2018-11-23 15:25:25 +07:00
Scott Shawcroft
299a2f12de Support the no CDC protocol as well. 2018-11-09 11:32:59 -08:00
Scott Shawcroft
537a29273c Exempt from strict warnings for struct packing and add MCU options 2018-11-09 00:10:44 -08: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