Commit Graph

1760 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
hathach
c0f38ebf8d fsdev read/write packet use unaligned function 2024-07-23 19:53:41 +07:00
hathach
5d26f5794e update fsdev bsp for hil testing 2024-07-23 18:06:24 +07:00
hathach
4de46fcf97 fix a bug in fsdev introduced by #1942 2024-07-22 21:07:28 +07:00
hathach
66193cba05 fix build with make 2024-07-19 22:48:01 +07:00
hathach
6bb59eeb3f add lpc11u37 for hil rpi 2024-07-19 22:33:53 +07:00
Ha Thach
e9f9d43d67 Merge pull request #2723 from liamfraser/rp2040_tweaks
RP2040 tweaks
2024-07-19 21:33:50 +07:00
HiFiPhile
4b55af17c9 Fix STM32F7 FS port build. 2024-07-19 17:02:57 +07:00
hathach
94454684f7 add ra4m1 ek for hil test 2024-07-19 11:29:48 +07:00
graham sanderson
5f6152a87e not all GCC compiler builds support --no-warn-rwx-segments; check_linker_flag is not available in all supported version of CMake, so just allow it to be passed in 2024-07-18 11:11:06 +01:00
hathach
8be0d503da fix make build 2024-07-18 09:34:58 +07:00
hathach
ea5deb0018 add unique id for imxrt 2024-07-18 09:24:29 +07:00
hathach
daa7acd585 add FreeRTOSConfig.h for da1469 2024-07-17 20:40:27 +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
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
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
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
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
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
hathach
4396ecd22c change COMPILE_DEFINE to CFLAGS_CLI for cmake/make 2024-06-25 11:31:19 +07:00
hathach
02bea8982e add new ch32v203g6u board, sysfreq is defined in board.cmake/mk 2024-06-21 16:08:37 +07:00
hathach
ac3ec59845 add optional COMPILE_DEFINE from cmake cli 2024-06-18 16:18:58 +07:00
Ha Thach
007a8bd46d Merge pull request #2672 from tinic/master
Add support for STM32U535xx/STM32U545xx
2024-06-15 10:56:24 +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
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
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
tinic
a0006e6861 Merge branch 'hathach:master' into master 2024-06-12 08:33:48 -07:00
Tinic Uro
bc576e7cee Make it work. 2024-06-12 08:33:10 -07:00
Tinic Uro
6a1dc25079 Add missing files. 2024-06-12 08:14:06 -07:00
Tinic Uro
28c2433375 Add stm32u545nucleo board. 2024-06-12 08:08:25 -07:00
hathach
90deeddf3d add c6 devkit, tested with max3421e 2024-06-06 15:49:20 +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
3175aaa0eb increase version as pre-releases, still need more clean up before actual relesae 2024-05-24 20:17:53 +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