Commit Graph

1998 Commits

Author SHA1 Message Date
Jie Feng
231d4122ac Fix gpio clock 2025-07-27 11:29:12 +08:00
Jie Feng
aacd73ba42 Add nanoch32v305 2025-07-24 22:36:59 +08:00
HiFiPhile
93f1f5b759 fix typo
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-07-20 15:33:57 +02:00
HiFiPhile
9f626fe179 Fix F4 BSP without UART_DEV. 2025-07-10 12:31:25 +07:00
hathach
b5694fd40a add option to pass symbol defines to ci build.py
add build.args option for hil json
add MAX3421_HOST=1 for metro m4 express
2025-07-09 21:54:23 +07:00
hathach
e598972438 add board_vbus_set() for samd21/d51 to enable usb host vbus
enable host example build for samd21/d51
2025-07-09 16:01:11 +07:00
hathach
386f551899 Merge branch 'refs/heads/master' into fork/ChrisDeadman/hcd-samd-support 2025-07-09 13:07:13 +07:00
hathach
a56f55c10b Merge remote-tracking branch 'origin/master' into xfer_isr
# Conflicts:
#	examples/device/audio_4_channel_mic_freertos/src/main.c
#	examples/device/audio_test_freertos/src/main.c
#	src/class/audio/audio_device.c
2025-07-08 10:09:24 +07:00
Ha Thach
9990e4bf0c Merge pull request #2963 from HiFiPhile/stm32_cache
Add DWC2 cache maintenance routines for STM32
2025-07-07 22:02:30 +07:00
hathach
3eb0451879 change CFG_TUSB_MEM_DCACHE_LINE_SIZE_DEFAULT (not defined) to 1
use stock iar linker
2025-07-07 20:31:49 +07:00
hathach
6e88895dbc always define CFG_TUH_WCH_USBIP_USBFS=1 for ch32v20x since only port1 support host mode
reformat hcd usbfs
add uart rx for ch32v20x bsp
2025-07-05 11:26:48 +07:00
HiFiPhile
ffab23cf0f Revise DCache with RTT section
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-07-04 12:10:56 +02:00
hathach
1b5f97ff23 Merge branch 'refs/heads/master' into fork/verylowfreq/pr-ch32v-usbfs-host 2025-07-04 09:49:28 +07:00
hathach
211c2e380f fix build with clang 2025-07-03 18:03:19 +07:00
hathach
970c8b744e Merge branch 'master' into fork/HiFiPhile/stm32_cache 2025-07-03 17:07:52 +07:00
hathach
a64e3eb0aa update board_test always output to uart regardless of LOGGER option 2025-07-02 17:27:03 +07:00
hathach
52f0427096 remove make wrapper for rp2040/espressif 2025-07-02 16:34:17 +07:00
hathach
a8b5e2bfc0 update example 2025-07-02 15:38:14 +07:00
hathach
0388700ad7 update esp build, replace TUSB_MCU_VENDOR_ESPRESSIF by ESP_PLATFORM 2025-07-02 15:32:12 +07:00
hathach
4579b4f825 add doc for building examples with cmake build system
change ci matrix build:
- github build make/cmake one per family on push only
- circicle do full cmake build for all toolchain (missing rx-gcc)
2025-07-02 14:41:16 +07:00
hathach
a42184b6fe remove legacy DEPS_SUBMODULES in make 2025-07-02 11:03:50 +07:00
HiFiPhile
19b5ec5fd9 bsp: fix NUCLEO-H7S3L8 button
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-14 22:46:51 +02:00
HiFiPhile
424d743739 hw/h7rs: Update linker to put RTT in DTCM
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-13 22:49:06 +02:00
HiFiPhile
37316e057d hw/h7rs: Enable D-Cache in BSP
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-13 22:49:06 +02:00
Ha Thach
e95973d346 Merge pull request #3137 from HiFiPhile/uac_simplify
uac2: remove support fifo
2025-06-12 22:18:17 +07:00
hathach
76b7468c74 ci skip clang/iar build for stm32n6
add stm32-tcpp0203 driver as dependency for h7rs and n6
2025-06-12 15:32:36 +07:00
hathach
edec37c1a3 fix cmake build 2025-06-12 14:07:51 +07:00
hathach
386f33807a Merge branch 'master' into fork/james-advatek/stm32n657nucleo 2025-06-12 11:02:54 +07:00
hathach
732a07ba5d fix linker issue with clang 2025-06-11 19:59:24 +07:00
hathach
d3d505e8f7 Merge branch 'master' into fork/HiFiPhile/h7rs 2025-06-11 16:23:54 +07:00
hathach
41e615d7c2 add make build for maxim 2025-06-11 12:08:16 +07:00
hathach
b56265f381 merge all maxim (32650, 32666, 32690, 78002) family into common bsp/maxim. Only support cmake build system
rename hw/mcu/analog/max32 to hw/mcu/analog/msdk
2025-06-10 22:28:03 +07:00
James Sandison
b956d10487 fix: allow FreeRTOS examples to compile 2025-06-04 13:52:35 +10:00
James Sandison
efc8c08a66 chore: delete accidentally commited submodules 2025-06-04 11:42:21 +10:00
James Sandison
3cf7234d67 chore: whitespace fix 2025-06-04 11:37:45 +10:00
James Sandison
d62a521e7c chore: add newline to EOF 2025-06-04 11:27:34 +10:00
James Sandison
56c9521abd chore: squash previous commits from other branches 2025-06-04 11:21:27 +10:00
HiFiPhile
3d2b870fcb Fix wrong SysTick clock on NUCLEO-C071RB
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-05-29 13:36:34 +02:00
hathach
e41a63c60d add usbh_spin_lock/unlock() use spinlock instead of atomic flag for hcd max3421 2025-05-21 15:27:18 +07:00
Ha Thach
5428b87948 Merge pull request #3103 from wavenumber-eng/mcxa156__sdk216
Added initial support for FRDM-MCXA156 and fixed up  a crash with FRDM-MCXN947
2025-05-16 22:32:04 +07:00
HiFiPhile
6346fbec16 Merge branch 'master' into h7rs 2025-05-15 21:40:36 +02:00
hathach
0ebc91ec97 update stm32wb linker to match new startup 2025-05-14 15:41:57 +07:00
hathach
d221d55b08 fix pre-commmit 2025-04-29 21:41:34 +07:00
Eli Hughes
538684ac62 - spelling fixes to pass ci
- added mca156 the list in boards.rst.
-  Fixup to family.cmake for mcxa156 to pass ci
2025-04-28 07:58:09 -04:00
Eli Hughes
f392b4c91d Added initial support for FRDM-MCXA156 and fixed up a crash with MCXN947
I will be porting tinyuf2 to MCXA156 and N947 and need this work in place.

This is the 1st step before bringing in support for other MCX devices.

We had previous patched https://github.com/hathach/mcux-sdk.git'  for MCX support as it was not pulically available

I updated get_deps to point to the mcux-sdk version 2.16.10 from NXP. I repointed the entry in the get_deps script to use NXP MCU repo.  The existing current code couldn't build as the MCUXpresso SDK was old.

- For now, I put a copy of fsl_spc.c in the drivers folder for the mcx family.  None of the ports could build with the version in the mcux github sdk.  The sdk on github has version 2.4.0.   The SDK package that can be downloaded with the SDK generator uses 2.4.2.  All of the clock_config routines use versions of the datastructure from 2.4.2.  For now, keeping an updated copy in hw/bsp/mcx/drivers so we can build against the latest mcuxpresso sdk and enable MCXA156.  I'll file an issue on the nxp github.

- Cleaned up the MCX family.c a little bit.  the MCXA/N these chips don't have SCT so I removed the neopixel code.

- fixed a clock init issue w/ N947 that was causing it to crash when initializing the uart.

- I tested the cmake and make scripts on the A153,A156 and N947 using the CDC/MSC sample.  All worked OK.

- Patched get_deps so it will do a fetch/check on a new folder.  Some of the deps were failing on a fresh clone of tinyusb

- Fixed  lpc51,54 and lpc55 make/cmake files to build with mcuxpresso sdk 2.16.10  The folder structure for flexcomm/uart changed a little bit

- lpc55s59 libpower_hardabi.a no longer is included in mcuxpressosdk, (fsl_power.c is replacement). remove of libpower_hardabi.a from the linker config.  LPC55 still works as expected.

- Using tinyuf2 get deps
2025-04-27 09:42:42 -04:00
hathach
ba45625ea4 minor ci update 2025-04-18 14:29:06 +07:00
hathach
e8a84f9076 enum For string descriptor (langid, manufacturer product, serila): always get the first 2 bytes to determine the length first. otherwise, some device may have buffer overflow. 2025-04-18 10:53:12 +07:00
hathach
0220852a6e - hil test max retry = 3
- fix h7 unused function
2025-04-17 16:58:26 +07:00
hathach
3851c7c97a - run arm-iar using github action
- add skip_ci.txt to family folder to skip boards in ci run
2025-04-17 16:07:10 +07:00
hathach
9eb0ae7636 fix iar make build with stm32 l0, f2, f3, u5, wb 2025-04-17 15:15:07 +07:00