8446 Commits

Author SHA1 Message Date
Brent Kowal
835a6ed622 Build System Updates
Updated MAX32690 and MAX78002 linker and cmake scripts to work with CMake + Ninja build system.  Verified all example projects build with the tools/build.py script for both board, and both make and cmake build systems.
2024-07-02 11:54:23 -04: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
HiFiPhile
236aa9622a
Merge pull request #2693 from ra1nb0w/enum-int
audio.h: fix error ISO C restricts enumerator values to range of 'int'
2024-06-28 20:45:45 +02: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
HiFiPhile
756ad3553d
Merge pull request #2689 from ra1nb0w/semicolon
remove double semicolon since ISO C not allow it
2024-06-27 21:48:25 +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
HiFiPhile
fbe025190c Make FreeRTOS config work with Cortex-M33. 2024-06-27 20:46:44 +02:00
HiFiPhile
b82e0a9f1e update lpc55 bsp for rtos use. 2024-06-27 20:44:40 +02:00
Ha Thach
13dedddd19
Merge pull request #2686 from hathach/add-host-devinfo 2024-06-25 15:29:17 +07:00
hathach
4396ecd22c
change COMPILE_DEFINE to CFLAGS_CLI for cmake/make 2024-06-25 11:31:19 +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
Okarss
822ff7b316 Update for OTG_FS devices 2024-06-21 16:23:28 +03:00
Okarss
7594d8e103 Fix the legend 2024-06-21 15:56:54 +03:00
hathach
f9cd5ccdf0
skip examples for ch32v203g6 2024-06-21 18:50:44 +07:00
HiFiPhile
906c84d2b6
Merge pull request #2683 from andrewleech/synopsys_esp32_freertos
synopsys/dwc2_esp32: Add header for vTaskDelay.
2024-06-21 12:42:11 +02:00
hathach
ab55bc077d
update cmake.xml 2024-06-21 16:09:08 +07:00
hathach
02bea8982e
add new ch32v203g6u board, sysfreq is defined in board.cmake/mk 2024-06-21 16:08:37 +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
Ha Thach
1cc319a15d
Merge pull request #2680 from Ryzee119/patch-1 2024-06-18 19:21:30 +07:00
Okarss
458be5dad8 Fix the table 2024-06-18 13:40:49 +03:00
hathach
ac3ec59845
add optional COMPILE_DEFINE from cmake cli 2024-06-18 16:18:58 +07:00
Okarss
5083d1eb33 Update Host mode information for FSDEV devices 2024-06-18 12:12:44 +03:00
hathach
de62b55042
add dual/host_info_to_device_cdc example 2024-06-18 13:29:04 +07:00
hathach
d945261aef
LOG3 in isr 2024-06-18 12:53:57 +07:00
hathach
f93eb40b1d
add host/device_info example 2024-06-18 12:52:32 +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
HiFiPhile
edf1ef6d97
Merge pull request #2675 from Okarss/fsdev_toggle_bits
[FSDEV] Simplify toggle bit logic
2024-06-14 20:36:03 +02: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
Ha Thach
0ac0c37078
Merge pull request #2674 from hathach/add-ch32v103
Add ch32v103 (not working yet)
2024-06-14 20:34:32 +07:00
hathach
2be72a97b8
minor update 2024-06-14 17:55:36 +07:00
hathach
e1012997f0
more update 2024-06-14 16:55:46 +07:00
hathach
f32851cf2a
fix ci skip example for ch32v1 2024-06-14 16:16:10 +07:00
hathach
5e9ad7daee
add ch32v10x to ci build 2024-06-14 16:09:08 +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
a6d3e2a36d Use STREQUAL instead of EQUAL to fix the cmake build. 2024-06-12 09:23:18 -07:00
Tinic Uro
48e18762b5 Use correct definition. 2024-06-12 09:02:48 -07:00
Tinic Uro
9be10f2adb Fix pin definitions. 2024-06-12 08:59:43 -07:00