Liam Fraser
770efd9b46
RP2040: Use our own unaligned memcpy to avoid alignment faults with some memcpy implementations
2024-07-17 15:47:00 +01:00
hathach
0004faca83
minor update hid device
2024-07-17 19:29:21 +07:00
hathach
0ecf15bc61
follow up to #2253
...
- rename tud_hid_report_fail_cb() to tud_hid_report_failed_cb() and change its signature
- use default implementation for hid callbacks to be compatible with keil compiler
- code format
2024-07-17 14:35:23 +07:00
Hardy Griech
6b0b889f25
avoid recursions in tud_network_recv_renew()
2024-07-15 18:15:01 +02:00
hathach
4ce1cce40a
simplify dwc2 test mode
...
- all dwc2 ip seems to support test mode in both fs/hs -> remove TUP_USBIP_DWC2_TEST_MODE
- remove dcd_check_test_mode_support(), all should be supported
- move enum tusb_feature_test_mode_t to tusb_types.h
2024-07-12 20:17:14 +07:00
hathach
1f590c3628
- add tud_cdc_configure_fifo() to replace CFG_TUD_CDC_PERSISTENT_TX_BUFF
...
- new line, and code format
2024-07-12 16:53:21 +07:00
Brent Kowal
13f5f20c98
Pre-commit fixes.
...
Resolve codespell and EOF errors found in the pre-commit CI task.
2024-07-11 12:13:30 -04:00
hathach
ca12a57902
add u for unsigned
2024-07-05 15:19:16 +07:00
Ha Thach
bd562e4180
Revert "audio.h: fix error ISO C restricts enumerator values to range of 'int'"
2024-07-05 15:15:00 +07:00
Brent Kowal
2353c4ffba
Add MAX78002 Support
...
-Added support for MAX78002, MAX78002EVKIT
-Added provisions for remaining MAX32 USB parts
2024-07-01 17:31:38 -04:00
Brent Kowal
0b82af61f3
AD-APARD32690-SL Support and Cleanup
...
- Added BSP for AD-APARD32690-SL board (apard32690)
- Ran clang-formatting on previously committed code
- Removed LOG messages from dcd_max32.c
2024-07-01 16:31:17 -04:00
Brent Kowal
0f288326cc
Initial Commit for MAX32 Support
...
Initial commit for the port of TUSB to MAX32xxx parts, staring with MAX32690
- Added dcd_max32.c (based on dcd_musb.c) for interfacing with the peripheral
- Added MAX32690 part family support
- Added max32690evkit board support
- Updated examples for unique EP number requirement
- Updated get_deps.py to fetch the MSDK
Known Issues / Additional Testing Required
- msc_dual_lun only shown 1 volume on Windows
- USBTMC does not have a valid Windowsdriver
- DFU does not have a valid Windows driver
- WebUSB is "Device not Recognized"
- Need to test build scripts with IAR and Clang
2024-06-28 16:55:27 -04:00
Davide Gerhard
8f9a57636c
audio.h: fix error ISO C restricts enumerator values to range of 'int'
...
fix error
~/dsp/libs/tinyusb/src/class/audio/audio.h:643:53: error: ISO C restricts enumerator values to range of 'int' before C23 [-Werror=pedantic]
643 | AUDIO_CHANNEL_CONFIG_RAW_DATA = 0x80000000, // TODO
| ^~~~~~~~~~
compilation terminated due to -Wfatal-errors.
Closes: https://github.com/hathach/tinyusb/issues/2690
2024-06-28 19:57:59 +02:00
HiFiPhile
7125ac20ca
Merge pull request #2691 from ra1nb0w/strict-overflow
...
audio_device.c: fix strict-overflow warning with gcc >= 12
2024-06-28 11:12:56 +02:00
Davide Gerhard
8f699023f3
audio_device.c: fix strict-overflow warning with gcc >= 12
...
Fix the following error
~/libs/tinyusb/src/class/audio/audio_device.c:1493:23: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow]
1493 | while (p_desc < p_desc_end)
| ~~~~~~~^~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
2024-06-28 10:55:43 +02:00
HiFiPhile
6d4e2f6c16
Fix GenID 3.10 issue on STM32L4.
2024-06-27 22:02:18 +02:00
Davide Gerhard
85e1f423bf
remove double semicolon since ISO C not allow it
...
ISO C does not allow extra ';' outside of a function [-Werror=pedantic]
2024-06-27 21:30:16 +02:00
HiFiPhile
eefca229b6
Merge branch 'master' of https://github.com/hathach/tinyusb into dwc2_dma
2024-06-27 20:49:40 +02:00
Ha Thach
13dedddd19
Merge pull request #2686 from hathach/add-host-devinfo
2024-06-25 15:29:17 +07:00
Ha Thach
044f4d1801
Merge pull request #2676 from Okarss/fsdev_documentation
...
[FSDEV] Update the STM32 documentation
2024-06-21 20:45:44 +07:00
Andrew Leech
0d79da37e7
synopsys/dwc2_esp32: Add header for vTaskDelay.
2024-06-20 15:18:41 +10:00
Ryzee119
5e58ec127f
usbh: Add set address recovery time
...
Ref USB Spec 9.2.6.3
2024-06-20 09:33:01 +09:30
Okarss
5083d1eb33
Update Host mode information for FSDEV devices
2024-06-18 12:12:44 +03:00
hathach
d945261aef
LOG3 in isr
2024-06-18 12:53:57 +07:00
Ryzee119
d52d659261
usbh: Set interface recipient should be interface
2024-06-18 14:02:36 +09:30
Ha Thach
007a8bd46d
Merge pull request #2672 from tinic/master
...
Add support for STM32U535xx/STM32U545xx
2024-06-15 10:56:24 +07:00
Okarss
5f060a357d
Update the STM32 documentation
2024-06-14 21:23:17 +03:00
Okarss
fb6a6acbff
Revert the DSB because of RISC-V
2024-06-14 18:39:48 +03:00
Okarss
00062ddb0c
[STM32 FSDEV] Simplify toggle bit logic
2024-06-14 18:16:09 +03:00
hathach
2be72a97b8
minor update
2024-06-14 17:55:36 +07:00
hathach
f32851cf2a
fix ci skip example for ch32v1
2024-06-14 16:16:10 +07:00
hathach
9ae0053573
newline
2024-06-14 16:08:26 +07:00
hathach
33f5547ed4
add ch32v103 bsp support, compile but does not run, probably due to compile/linker issue
2024-06-14 16:06:37 +07:00
hathach
969b06d77c
minor update
2024-06-14 12:51:50 +07:00
hathach
2ed027f2bd
use stock core_riscv.h for ch32 v2 v3
2024-06-14 12:51:28 +07:00
Tinic Uro
bc576e7cee
Make it work.
2024-06-12 08:33:10 -07:00
Tinic Uro
28c2433375
Add stm32u545nucleo board.
2024-06-12 08:08:25 -07:00
HiFiPhile
b0f5422262
Merge branch 'master' of https://github.com/hathach/tinyusb into rx_fb
2024-05-31 12:38:18 +02:00
Tinic Uro
60d7fcb1ee
Use correct backend.
2024-05-30 13:26:14 -07:00
Tinic Uro
2e946ac77a
Use correct specs.
2024-05-29 13:23:18 -07:00
Tinic Uro
22e6b1130f
Cleaner approach.
2024-05-29 13:13:47 -07:00
Tinic Uro
4938128ccc
Make it compile for STM32U545.
2024-05-29 12:54:15 -07:00
hathach
8767d1ab7d
fix xtensa_api.h include
2024-05-29 15:19:59 +07:00
HiFiPhile
003a5d4f55
Merge branch 'master' into additional_dcd_sof_enable
2024-05-27 20:10:44 +02:00
HiFiPhile
a9745c9818
Fix tud_sof_cb_enable() return type.
2024-05-27 20:35:35 +10:00
HiFiPhile
8f0459c89e
Fix frame count in tud_sof_cb().
2024-05-27 20:35:35 +10:00
Andrew Leech
087fe79e2c
renesas: Add support for dcd_sof_enable().
2024-05-27 20:35:35 +10:00
Andrew Leech
160cd79fdb
nrf5x: Add support for dcd_sof_enable().
2024-05-27 20:35:35 +10:00
Andrew Leech
e229270a1c
microchip samd: Add support for dcd_sof_enable().
2024-05-27 20:35:35 +10:00
Andrew Leech
a2e5ea1882
chipidea/mimxrt: Add support for dcd_sof_enable().
2024-05-27 20:35:35 +10:00