1473 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
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
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
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
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
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
HiFiPhile
4f41e105b3 Update build system. 2024-04-28 00:28:11 +02:00
Kasper Nyhus Kaae
c917d47e71 audio_test_freertos & audio_4_channel_mic_freertos 2024-04-27 20:29:07 +02:00
HiFiPhile
69313ef455
Merge pull request #2609 from tyustli/patch-1
Remove redundant header file includes for the hid class
2024-04-26 00:22:22 +02:00
hathach
223ce56625
- add esp32 c3, c6 mcu option
- skip breakpoint for espressif riscv
2024-04-26 00:10:57 +07:00
hathach
2e995d7cf4
adding support for esp32 for use with max3421e host 2024-04-25 20:23:40 +07:00
tyustli
1e7091dae9
fix ci error 2024-04-25 19:47:12 +08:00
hathach
19f1080e38
fix make build due to clang changes 2024-04-24 22:41:22 +07:00
hathach
eab42d90d4
update clang make build for stm32: f0 f1 f2 f3 f4 f7 h7 g0 g4 l0 l4 samd21 samd51 nrf 2024-04-24 22:11:08 +07:00
hathach
a7bf0e3e7f
clang make work for samd21 2024-04-24 19:21:26 +07:00
hathach
b67cb26e51
change hil board s3 devkitm (devkitc seems to have usb issue with cp2104) 2024-04-24 16:17:33 +07:00
hathach
3fd82cfe22
clang work with lpc55 2024-04-23 10:57:45 +07:00
hathach
db30eee0fc
clang tested with mcb1800, add heap to lpc18 linker 2024-04-22 18:31:11 +07:00
hathach
c097c85dcf
fix print lu format warnings with clang 2024-04-22 16:17:22 +07:00
hathach
62331f0207
fix nrfx v3 spim freq when init
fix clang build with nrf
2024-04-22 15:55:50 +07:00
hathach
c8e533e612
fix build with nrfx v3, though max3421e spi does not seem to work well. 2024-04-22 14:54:35 +07:00
hathach
d157abe77c
clang samd21 build but has issue as samd51 2024-04-19 23:17:02 +07:00
hathach
be0d62ba6c
clang samd51 compile but does not run, rom is correct, but ram is lacking bss. Got stkerr -> hardfault 2024-04-19 23:17:00 +07:00
hathach
824e39ddeb
more clang update 2024-04-19 23:16:59 +07:00
hathach
3442a87d5b
- clang h743 build and run cdc_msc ok
- switch unit test back to gcc, since path to clang conflict on local setup (x86 and arm)
2024-04-19 23:16:57 +07:00
hathach
96f7ca02bf
clang build board test with h743 2024-04-19 23:16:57 +07:00
hathach
632a001955
update cmake build 2024-04-19 23:16:55 +07:00
hathach
7545c40003
cmake detect toolchain based on -DCMAKE_C_COMPILER 2024-04-19 23:16:54 +07:00
Ha Thach
fb21b6a67d
Merge pull request #2134 from clhenry/non-bus-powered-re-enumeration
Non-bus-powered MSP430 support.
2024-04-15 23:14:10 +07:00
hathach
afb66a955c
update msp430 make build 2024-04-15 22:49:08 +07:00