Ha Thach
d26b574f80
Merge pull request #2688 from HiFiPhile/3511_rtos
...
LPC55: FreeRTOS fix
2024-07-12 17:16:44 +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
Ha Thach
65b3edbb09
Merge pull request #2705 from hathach/v203-use-224kb
...
V203 use 224kb
2024-07-11 21:36:00 +07:00
Brent Kowal
494533f9d7
Minor build system fix
...
Correct a case-sensitive file extension issue in the MAX32690 build scripts. Did not present itself as an issue under MinGW or MSYS, just Linux.
2024-07-10 15:52:43 -04:00
Brent Kowal
f49725d2c9
BSP Cleanup
...
- Added MSDK flash rules for CMake
- Removed partial IAR support. Uniform GCC support across MAX32 parts
- Updated build scripts for correctly signing the MAX32651
- Added README files for the BSPs to describe flashing and limitiations
2024-07-10 15:18:59 -04:00
hathach
e251493a16
skip FLASH_ function to reduce dependency
2024-07-10 22:58:00 +07:00
hathach
c1175b7013
enable full 224KB flash for ch32v203 with flash enhanced read mode in SystemInit (better with startup).
...
add flash with wlink-rs
2024-07-10 22:48:06 +07:00
Ha Thach
cb37a17ef7
Merge pull request #2699 from hathach/revert-2693-enum-int
...
Revert "audio.h: fix error ISO C restricts enumerator values to range of 'int'"
2024-07-05 15:42:39 +07:00
hathach
8d5dbb9577
add board_reset_to_bootloader(), try to implement that for ch32v203 but not working yet
2024-07-05 15:40:02 +07: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
0c37f93bc8
MAX32650/1/2 Support
...
Added support for the MAX32650/1/2 series parts
- MAX32650FTHR, MAX32650EvKit, MAX32651EvKit
- Added special flash rule for MAX32651 due to signing required
- Added depencies to flash-msdk rules for executable
2024-07-02 18:02:11 -04:00
Brent Kowal
61beb6316d
MAX32666 Support
...
Added support for the MAX32666, Boards MAX32666EvKit and MAX32666FTHR.
2024-07-02 14:31:38 -04:00
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