1840 Commits

Author SHA1 Message Date
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
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
hathach
b1eedf4d1d fix iar make build with wb and u5 2025-04-17 14:40:43 +07:00
hathach
f479b02ea6 ci add pico_w for native host test 2025-04-17 11:22:38 +07:00
hathach
4d601545eb add TS3USB30 to test s3 host with slave/dma 2025-04-16 21:15:07 +07:00
Ha Thach
bfe08176e5 Merge pull request #3070 from HiFiPhile/bitfield
host/dwc2: fix bitfields access width
2025-04-15 10:44:01 +07:00
hathach
d039d54a89 channge DWC2_CHANNEL_COUNT/DWC2_EP_COUNT to inline function 2025-04-14 23:45:20 +07:00
HiFiPhile
c183108a82 Skip net_lwip_webserver, too big for h7rs
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-13 12:24:30 +02:00
HiFiPhile
8b69dc32d4 Increase RTT buffer size
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-12 20:01:10 +02:00
HiFiPhile
b2a4407bd5 Merge remote-tracking branch 'upstream/master' into h7rs 2025-04-12 17:08:49 +02:00
HiFiPhile
b4a762dd58 Fix RTT buffer not detected.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-12 17:08:29 +02:00
HiFiPhile
7f246d4b76 Fix swo logger case.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-12 17:08:29 +02:00
HiFiPhile
3acaffd64d build fix.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-09 19:34:56 +02:00
HiFiPhile
1be4171d2a Fix espressif build with presets.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-04-07 23:41:55 +02:00
HiFiPhile
865e3488f9 Merge pull request #3014 from deshipu/master
Allow different port and mode for LED on ch32v boards
2025-04-06 18:35:28 +02:00
Radomir Dopieralski
1f2f92d97a Allow different port and mode for LED on ch32v boards
While there is a define for the port, the clock enable is hardcoded for
GPIOA, so setting a different port than GPIOA doesn't work. This fixes
it by adding a define for enabling the port clock.

It also adds a define for the pin mode, because not all boards have the
LED connected in a way that open drain works with it.
2025-04-06 17:14:32 +02:00
hathach
901ce2ad93 hcd/ehci: hcd_edpt_open() return false if ep is already opened. implement hcd_edpt_close() 2025-03-26 21:32:18 +07:00
hathach
1615120bca added mimxrt1064_evk to hil test pool 2025-03-26 15:32:19 +07:00
hathach
73e810a7ba imxrt: disable BOARD_ConfigMPU() since it cause issue with imxrt1060/64. Update imxrt configtool forr some board to get uart pin init. 2025-03-26 15:20:02 +07:00
HiFiPhile
5086d2a04f Add SWO config.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-03-24 23:06:22 +01:00
HiFiPhile
c3a6efc29e Implement ITM_SendChar().
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-03-24 23:06:09 +01:00
HiFiPhile
3caff80c8e Merge remote-tracking branch 'upstream/master' into h7rs
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-03-24 21:09:17 +01:00
verylowfreq
382dcca5d6 Update ch32v20x family.cmake 2025-03-16 10:13:26 +09:00
verylowfreq
7ed5503a5c Fix the condition related to CFG_TUH_WCH_USBIP_USBFS macro 2025-03-16 10:13:25 +09:00
verylowfreq
c61dfc7c7a Add ch32v20x usbfs hcd initial support. 2025-03-16 10:13:25 +09:00
hathach
683b1e9702 fix(rp2040) set RTOS as cmake cache to fix pico-example build 2025-03-10 11:20:47 +07:00
Ha Thach
02a630b3da Merge pull request #1627 from atoktoto/midihost
RP2040 MIDI Host
2025-03-09 19:01:10 +07:00
HiFiPhile
29ffd57237 Merge pull request #2990 from dauc/master
Add full/high speed compile flag for Microchip SAME70 examples
2025-03-08 11:57:41 +01:00
hathach
8c0c21189c Merge branch 'master' into fork/atoktoto/midihost
# Conflicts:
#	src/host/usbh.c
2025-03-05 18:25:31 +07:00
hathach
7dbad0a23e add adafruit metro rp2350 2025-03-04 22:42:27 +07:00
hathach
c1df796a7c add missing board.h for BOARD=pico_sdk 2025-02-28 12:04:54 +07:00
Tomas Rezucha
720697b6ae fix(esp): Remove deprecated include
soc/usb_pins.h header will be deprecated in IDF v6.0
2025-02-27 12:48:31 +01:00
hathach
6ebd362cfd Merge branch 'master' into fork/atoktoto/midihost
# Conflicts:
#	src/host/usbh.c
2025-02-21 10:59:40 +07:00
hathach
61aab7a86a pio-usb now only need sysclk to be multiple of 12Mhz 2025-02-20 22:18:33 +07:00