Commit Graph

1662 Commits

Author SHA1 Message Date
Brent Kowal
5122d6d109 Combined DCD MUSB implementations
Combined the new MAX32 MUSB implementation with the existing (TI) implementation to provide generic code base for working the MUSB DCD peripheral.
 - Added abstraction calls for FIFO setup, EP registers, Ctrl registers and interrupt setup.
 - Combined TM4C and MSP432E into a single header file.
 - Created musb_max32.h, and removed the MAX32 specific C implementation.
 - Updated MAX32 build system to use dcd_musb.c.
 - Added MAX32 conditions for cdc_dual_ports example descriptors missed during first testing.
2024-07-25 09:08:37 -04:00
Ha Thach
e9f9d43d67 Merge pull request #2723 from liamfraser/rp2040_tweaks
RP2040 tweaks
2024-07-19 21:33:50 +07:00
graham sanderson
31a979a6cc fix some clang compiler warnings 2024-07-18 11:11:06 +01:00
Liam Fraser
23c9353cd8 net_lwip_webserver: allow TINYUSB_LWIP_PATH to be defined by parent CMake file 2024-07-18 11:10:55 +01:00
hathach
30a48c57bd fix hil board_test duplication, add cdc_msc_freertos test 2024-07-18 13:21:38 +07:00
hathach
57a08200fc add family cmake/make for da1469x boards 2024-07-17 19:28:59 +07:00
Ha Thach
d26b574f80 Merge pull request #2688 from HiFiPhile/3511_rtos
LPC55: FreeRTOS fix
2024-07-12 17:16:44 +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
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
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
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
fbe025190c Make FreeRTOS config work with Cortex-M33. 2024-06-27 20:46:44 +02:00
hathach
4396ecd22c change COMPILE_DEFINE to CFLAGS_CLI for cmake/make 2024-06-25 11:31:19 +07:00
hathach
f9cd5ccdf0 skip examples for ch32v203g6 2024-06-21 18:50:44 +07: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
hathach
f32851cf2a fix ci skip example for ch32v1 2024-06-14 16:16:10 +07:00
HiFiPhile
b0f5422262 Merge branch 'master' of https://github.com/hathach/tinyusb into rx_fb 2024-05-31 12:38:18 +02:00
hathach
3b144be37f try fixing codeql 2024-05-20 18:05:45 +07:00
hathach
b19295c1c1 use correct wch usbhs, usbfs for ch32v307 using CFG_TUD_MAX_SPEED 2024-05-20 17:26:04 +07:00
hathach
4a5fee503b - update ch203 family to allow to specify flash and ram size. Introduce
- add ch32v203_ro_1v0 board
- CFG_EXAMPLE_MSC_DUAL_READONLY to build msc_dual_lun for ch32v203
2024-05-20 13:24:57 +07:00
hathach
2a67ce773d change default risv-gcc to riscv-none-elf- and add _zicsr extension
add cmake for ch32v20x, skip freertos examples for CH32V20X, also skip net webserver due to lack of RAM
update to use openocd with wlinke adapter
2024-05-16 19:18:43 +07:00
Matthew Tran
db60fa1c63 add CH32V20x USB OTG/FS driver 2024-05-15 20:01:00 +07:00
HiFiPhile
d54a1578aa Typo. 2024-05-12 17:33:31 +02:00
HiFiPhile
301fb2a9f7 Fix CI. 2024-05-12 14:05:57 +02:00
HiFiPhile
df6740353f Optimize fifo level display. 2024-05-12 14:02:07 +02:00
HiFiPhile
08f9e4e0c8 Hint missing import, exit on error. 2024-05-12 13:57:17 +02:00
HiFiPhile
33882b3e89 Merge remote-tracking branch 'remotes/tinyusb/master' into rx_fb 2024-05-11 12:44:16 +02:00
Ha Thach
3e2ea77506 More ci tweak (#2636)
* change concurrency group to ${{ github.workflow }}-${{ github.ref }}
* use argparse for build.py hil_test.py, remove the need to install click
* move ci win/mac to build_cmake.yml
* rename build_family.yml to build_util.yml
* build_util.yml support esp32
* integrate build-espressif into build.yml
* build.py support make with --board option
* add get_deps action
* update hil test to reuse action
2024-05-10 18:55:43 +07:00
HiFiPhile
f4d4f2da29 Merge remote-tracking branch 'remotes/tinyusb/master' into rx_fb 2024-05-10 00:16:45 +02:00
HiFiPhile
fc7647f9e4 Allow feedback EP size change. 2024-05-10 00:11:04 +02:00
Ha Thach
ba6babf570 Rework ci (#2631)
* add name field to usbd_class_driver_t
* ci: use set matrix py script
* add riscv32 and cmake support for ch32v307, fomu,  gd32vf103
* update build_cmake.py to take --family --board --toolchain
* separate hil test to its own workflow
* move esp32 board into separated hil json
* add make build to ci
* remov build_make.py
* build.py support esp32 board
* setup toolchain support esp-idf
* fix missing click
* merge family in matrix build to reduce jobs
* skip cifuzz since it still has issue with get_deps and click
2024-05-09 20:43:46 +07:00
HiFiPhile
8133af4e08 Merge remote-tracking branch 'remotes/tinyusb/master' into rx_fb 2024-05-08 23:18:29 +02:00
HiFiPhile
e5d92c4ea7 Fix CI. 2024-05-07 00:37:57 +02:00
HiFiPhile
0f4ea8e918 Enable NCM + iperf for MCU with bigger RAM. 2024-05-07 00:23:50 +02:00
HiFiPhile
63d5103f42 Increase TCP_WND for better performance. 2024-05-07 00:18:31 +02:00
HiFiPhile
d25ee82d3f Reformat net_lwip_webserver example. 2024-05-07 00:17:09 +02:00
HiFiPhile
45d450d1f0 Merge remote-tracking branch 'remotes/tinyusb/master' into pr/2227 2024-05-06 22:49:29 +02:00
hathach
c020a0190d add cmake for f1c100s 2024-05-04 12:36:40 +07:00
hathach
19cb2f1a3c add cmake to lpc1347 2024-05-02 18:15:55 +07:00
hathach
c717e52ab2 add cmake for lpc11 2024-05-02 17:54:44 +07:00
hathach
980f5992c8 add cmake for broadcom 64-bit, like 32-bit it compiles but text is only 8 bytes (incorrect) 2024-05-02 16:57:50 +07:00
hathach
ea3f1d39e8 add cmake for pi zero (renamed from pi zero_w), build but the flash size seem wrong (only 24 bytes for text) 2024-05-02 13:29:29 +07:00
HiFiPhile
a29852320a Merge remote-tracking branch 'upstream/master' into pr/2227 2024-04-28 19:46:00 +02:00
HiFiPhile
ef7be4c2ff Fix CI. 2024-04-28 01:17:32 +02:00
HiFiPhile
bc8c8df316 Build STM32F7 with single-point FPU. 2024-04-28 00:29:19 +02:00
HiFiPhile
a29a3af218 audio_4_channel_mic_freertos : merge changes from audio_4_channel_mic. 2024-04-28 00:28:12 +02:00
HiFiPhile
bb89a5a5bf audio_test_freertos : merge changes from audio_test. 2024-04-28 00:28:12 +02:00
HiFiPhile
7dd26877de Update audio_test & audio_test_freertos examples to work with high-speed. 2024-04-28 00:28:11 +02:00