hathach
ce064de6fd
clean up
2022-12-10 00:18:11 +07:00
hathach
82852774a7
add fifo implementation note
...
- handle/fix double overflowed with write()
- other minor clean upp
2022-12-09 18:20:09 +07:00
hathach
3e32fa36b8
enhance tu fifo
...
- rename wr/rd absolute to index, and rel to pointer.
- fix crash with _tu_fifo_remaining()
- change get_relative_pointer() to idx2ptr() and merge with _ff_mod()
2022-12-08 16:39:24 +07:00
Bastien Nocera
6a2cf67289
Fix typos
2022-12-04 19:43:23 +07:00
hathach
b2a3f33046
Retry a few times with transfers in enumeration since device can be unstable when starting up
2022-11-28 23:22:10 +07:00
hathach
d2c9b8bcfb
fix -wconversion-int and add minor comment
2022-11-04 16:14:35 +07:00
Ha Thach
b554c2ed83
Merge branch 'master' into rp2040-hcd-bulk
2022-11-04 15:42:50 +07:00
LynnL4
4238467b2d
Add support for STM32U5 mcu
2022-10-13 17:39:42 +08:00
ReimuNotMoe
8096afc6de
Microchip PIC24/dsPIC33 device mode support
2022-10-06 03:45:51 +08:00
Ben Avison
01edbb8af6
IAR doesn't support __attribute__((fallthrough))
...
IAR generates warning Pa167 'the "fallthrough" attribute is not supported'.
It doesn't generate warnings when one switch case falls through to another,
so simply make TU_ATTR_FALLTHROUGH expand to an empty string.
Also replace one instance of __attribute__ with the macro.
2022-09-13 18:00:51 +01:00
hathach
7e4c0f64cd
abtract attribute fallthrough
2022-07-14 18:39:47 +07:00
robert-hh
ec6f56768a
mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT.
...
Which fits both MIMXRT10XX and MIMXRT11XX.
2022-07-01 09:04:36 +02:00
robert-hh
60c1750a9b
mimxrt: Add/change definitions for MIMXRT11XX boards.
...
These are mostly identical to the MIMXRT10XX, with one tiny difference.
2022-06-30 22:21:31 +02:00
hathach
4f6e770eda
add more warning option, also fix -Wconversion with rp2040
...
-Wuninitialized, -Wunused, -Wredundant-decls
2022-06-24 19:46:19 +07:00
hathach
dd035b0eb2
make all hcd/dcd function used in isr into ram with __no_inline_not_in_flash_func() for faster irq handling
...
result is 1KB of code moved from rom -> ram
2022-06-08 16:08:53 +07:00
hathach
8b9cf152a0
rhport argument in usbd_ API() is not used (always use the initialized port)
...
remove the usage of TUD_OPT_RHPORT in class driver
2022-06-02 16:51:17 +07:00
Rafael Silva
a936bafb8c
add support for renesas ra family of mcus
...
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
2022-06-02 09:35:30 +01:00
Ha Thach
fdeac8508b
Merge pull request #1381 from hathach/add-sof-isr
...
Add SOF IRQ Handler
2022-05-31 22:25:14 +07:00
Ha Thach
0a4a28a90c
Merge pull request #1451 from kasjer/kasjer/pic32-sanity-fixes
...
pic32 sanity fixes
2022-05-24 20:42:06 +07:00
Ha Thach
2683deb0dd
Merge branch 'master' into ch32v307
2022-05-21 13:54:25 +07:00
hathach
c5ba1ea8c1
changes proposal to audio feedback computation
2022-05-13 22:54:47 +07:00
Jerzy Kasenberg
d51743a21c
Add TU_BREAKPOINT for mips architecture
...
_mips is provided by xc32-gcc
2022-05-01 14:05:49 +02:00
hathach
ae5490e5a5
clean up
2022-04-27 20:52:56 +07:00
hathach
4a661dead0
add TU_ATTR_FAST_FUNC for rp2040 __not_in_flash() section
2022-04-27 17:57:52 +07:00
hathach
12debd7763
keep up with pio usb
2022-04-22 01:06:17 +07:00
hathach
b034c18077
add tud_task_ext(), tuh_task_ext() as exteneded version that take timeout and in_isr
...
also allow exit tud_task,tuh_task after processing all events for
running other background task for user
2022-04-20 18:29:41 +07:00
Skyler Mansfield
16c13bc110
tusb_types:
...
Added descriptive strings for edpt_dir and edpt_type
2022-04-17 01:16:49 +01:00
Greg Davill
cdb8a1a2a1
Clean up driver
2022-03-23 00:00:06 +10:30
Greg Davill
a09c1648f5
Fix typo
2022-03-22 23:31:20 +10:30
Greg Davill
fccbcfc889
Add WCH CH32V307 port
...
Add WCH mcu submodule
Add CH32V307V-R1-1v0 bsp
2022-03-22 00:30:46 +10:30
Reinhard Panhuber
fdfde8883f
Implement power of two, shift, and float calculation
2022-03-19 13:37:54 +01:00
hathach
2929afe2fa
add synchronous (blocking) support for usbh control transfer
...
- add synchronous version of all get descriptor API
- update bare example to use sync API for string descriptor
- change order of index, language_id in tuh_descriptor_get_string() to
match similar API of libusb
- add index to tuh_descriptor_get_hid_report()
2022-03-13 17:45:46 +07:00
hathach
b9ca301527
remove obsolete device state
2022-03-10 13:19:15 +07:00
hathach
b05401a5ab
merge control stage host and device value
2022-03-10 11:59:51 +07:00
hathach
110879074f
implement tu_edpt_release()
2022-03-09 17:26:55 +07:00
hathach
a5fb20533c
adding tusb_private.h to implement common edpt claim
2022-03-09 17:17:36 +07:00
hathach
708f05668d
add tusb_debug.h remove tusb_error.h
...
move debug utils to new header
2022-03-09 16:44:19 +07:00
Ha Thach
1bd31c22e1
Merge pull request #1374 from kasjer/kasjer/stm32wb55
...
stm32wb55 support
2022-03-07 16:09:06 +07:00
Jerzy Kasenberg
a18ac84229
Add support for STM32WB mcu
2022-03-07 09:35:12 +01:00
hathach
e08a875d52
add tuh_descriptor_get() and tuh_descriptor_device_get()
2022-03-04 19:26:54 +07:00
Scott Shawcroft
2cd73ca602
Add host string descriptor functions
...
Plus typo fixes, GCC11 array bounds fix, snprintf for malloc-free
debug and pragmas for alignment checks.
2022-03-03 21:53:12 -08:00
Ha Thach
8e84529c8d
Merge pull request #1345 from alexandre-perrin/iar-cpp-verify-static
...
Fix CPP compilation with IAR
2022-02-28 17:02:33 +07:00
hathach
2fe3a925fb
add highspeed detect for f723/730/733
2022-02-26 17:34:29 +07:00
hathach
a4ba3f2891
add TUP_USBIP_DWC2
2022-02-26 17:13:06 +07:00
hathach
11c89d43ab
more internal rename
2022-02-26 17:06:50 +07:00
hathach
bc63f59af2
mcu specific rename
2022-02-26 15:23:29 +07:00
Ha Thach
244154e087
Merge pull request #1311 from Wini-Buh/CCRX_Ext
...
Solve problems with CCRX toolchain
2022-02-26 14:34:18 +07:00
hathach
0997589c45
more symbol rename
2022-02-25 23:05:15 +07:00
hathach
89115253da
internal symbol rename
2022-02-25 22:45:05 +07:00
hathach
309540473b
minor house keeping
2022-02-25 22:26:35 +07:00