8113 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
13f5f20c98 Pre-commit fixes.
Resolve codespell and EOF errors found in the pre-commit CI task.
2024-07-11 12:13:30 -04: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
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
Ha Thach
ba2f2299c3
Merge pull request #2668 from hathach/add-c6-board
Add esp c6 devkit board
2024-06-06 16:48:08 +07:00
hathach
8df372ae7a
clean up 2024-06-06 16:19:02 +07:00
hathach
7771cae94c
fix gnurx bin 2024-06-06 16:13:25 +07:00
hathach
902cc3310b
correct script 2024-06-06 16:09:38 +07:00
hathach
302445e64f
try to build rx using build_util 2024-06-06 16:07:11 +07:00
hathach
90deeddf3d
add c6 devkit, tested with max3421e 2024-06-06 15:49:20 +07:00
Ha Thach
d10b65ada4
Merge pull request #2663 from hathach/tweak-espidf-include
fix xtensa_api.h include
2024-05-29 15:20:55 +07:00
hathach
8767d1ab7d
fix xtensa_api.h include 2024-05-29 15:19:59 +07:00
HiFiPhile
1fe86f654f
Merge pull request #2647 from andrewleech/additional_dcd_sof_enable
Add support for dcd_sof_enable() to some additional ports.
2024-05-27 20:42:28 +02: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
Ha Thach
fd11bf17fd
Merge pull request #2661 from hathach/release-0.17.0
bump up version to 0.17.0 (not release yet)
2024-05-24 20:39:33 +07:00
hathach
3175aaa0eb
increase version as pre-releases, still need more clean up before actual relesae 2024-05-24 20:17:53 +07:00
hathach
afbb07b472
test README.rst 2024-05-24 17:36:17 +07:00
HiFiPhile
37e638b3dd
Merge pull request #2657 from Rbb666/rtthread
[osal]Add usb-device and host macro controls.
2024-05-24 12:25:12 +02:00
Rbb666
2c880012f7 [osal]Add usb-device and host macro controls. 2024-05-24 16:51:22 +08:00
Ha Thach
41c7cdac68
Merge pull request #2659 from hathach/fsdev-generalize-ch32
CH32 add support for usbd (only), fsdev
2024-05-24 15:18:30 +07:00
hathach
daffb24111
minor clean up 2024-05-24 14:13:58 +07:00
hathach
937b2eac36
change default clock to 144mhz 2024-05-24 14:00:02 +07:00
hathach
4ce439a75a
add ch32 support for fsdev driver. v20x can select fsdev or usbfs with make/cmake PORT=0/1. default to fsdev 2024-05-24 13:58:44 +07:00
hathach
927015baae
wch usbfs/usbhs need to specify which driver to use. for v307 default to highspeed 2024-05-24 11:38:44 +07:00
Ha Thach
1f259b3ab0
Merge pull request #2392 from Krasutski/bugfix/ch32-hs-dcd
bugfix(ch32-hs-dcd): fix ch32 DATAx managment and long packet transmit
2024-05-21 19:15:54 +07:00
hathach
4a5b190a22
re-add sof event 2024-05-21 18:34:25 +07:00
hathach
953e3bd634
- minor update to ep_set_response_and_toggle/xfer_data_packet
- merge USBHS_ISO_ACT_FLAG, USBHS_TRANSFER_FLAG handler since they are similar
- improve uart output
- add note for link speed in bus reset
2024-05-21 17:50:50 +07:00
hathach
4bd72da5cd
use CFG_TUD_ENDPOINT0_SIZE, rename ep0_data_in_out_buffer to simply ep0_buffer
reformat indent to 2 spaces
2024-05-21 15:41:59 +07:00
Denis Krasutski
3e604d1d54
fix(ch32, iso): fix iso IN transfers for CH32 2024-05-21 15:24:40 +07:00
dkrasutski
869e5e950c
bugfix(ch32-hs-dcd): fix ch32 DATAx managment and long packet transmission 2024-05-21 15:24:36 +07:00
Ha Thach
a1abbd70cb
Merge pull request #2654 from hathach/update-circleci
circle ci remove deps caching to reduce storage credit
2024-05-21 14:01:32 +07:00
hathach
1d7aeb3fb6
try to update cache for esp-idf 2024-05-21 13:25:15 +07:00
hathach
4e24ec5e5d
circle ci skip cache for toolchain
action skip cache for toolchain url hosted by github
2024-05-21 13:04:56 +07:00
hathach
c2cfb71dce
circle ci remove deps caching to reduce storage credit 2024-05-21 12:11:08 +07:00
Ha Thach
a068b81674
Merge pull request #2362 from dragonlock2/master
Add CH32V20x USB OTG/FS Driver
2024-05-20 18:47:22 +07:00
hathach
10b1e38404
revert unrelated changes to video_device.c 2024-05-20 18:30:38 +07:00
hathach
3b144be37f
try fixing codeql 2024-05-20 18:05:45 +07:00
hathach
07d879378f
code format
add missing MIT license
2024-05-20 17:41:48 +07:00