rzsa opened a new pull request, #17015:
URL: https://github.com/apache/nuttx/pull/17015
## Summary
Add support for WeAct STM32H750 board. Based on the existing board
WeAct STM32H743.
## Impact
Add configuration options for STM32H750VB/ZB/IB/XB variants and support
for STM32H7X0XX family. Include new board files with clocking, LCD
ST7735, SDMMC, SPI, and USB OTG FS host/device support, build scripts
for the 128KB Flash, 1MB SRAM setup.
Provide defconfigs:
- nsh
- st7735
- sdcard
- usbnsh
## Testing
Tested on host: Linux Mint 22.2 Zara base: Ubuntu 24.04 noble,
with arm-none-eabi-gcc (15:13.2.rel1-2) 13.2.1 20231009 toolchain.
Board: WeAct STM32H750.
Debugger: Raspberry Pi Debug Probe using with OpenOCD for flashing:
```
openocd -f interface/cmsis-dap.cfg -f target/stm32h7x.cfg -c "init; reset
halt; program nuttx; reset run; exit"
```
### nsh
Configure and build:
```
❯ ./tools/configure.sh -E -l weact-stm32h750:nsh
❯ make -s -j$(nproc)
```
Open NuttShell on USART1:
```
❯ picocom -b 115200 /dev/ttyACM0
NuttShell (NSH) NuttX-12.10.0
nsh> ?
help usage: help [-v] [<cmd>]
. cd expr mount source uptime
[ cp false mv test usleep
? cmp help printf time watch
alias dirname hexdump pwd true xd
unalias dmesg kill rm truncate
basename echo ls rmdir uname
break exec mkdir set umount
cat exit mkrd sleep unset
Builtin Apps:
dd nsh sh
nsh> uname -a
NuttX 12.10.0 189dce4619 Sep 14 2025 13:17:06 arm weact-stm32h750
nsh>
```
### st7735
Configure and build:
```
❯ ./tools/configure.sh -E -l weact-stm32h750:st7735
❯ make -s -j$(nproc)
```
Open NuttShell on USART1:
```
❯ picocom -b 115200 /dev/ttyACM0
NuttShell (NSH) NuttX-12.10.0
nsh> ?
help usage: help [-v] [<cmd>]
. cd expr mount source uptime
[ cp false mv test usleep
? cmp help printf time watch
alias dirname hexdump pwd true xd
unalias dmesg kill rm truncate
basename echo ls rmdir uname
break exec mkdir set umount
cat exit mkrd sleep unset
Builtin Apps:
dd fb nsh sh
nsh> uname -a
NuttX 12.10.0 189dce4619 Sep 14 2025 13:09:17 arm weact-stm32h750
nsh> fb
VideoInfo:
fmt: 11
xres: 80
yres: 160
nplanes: 1
PlaneInfo (plane 0):
fbmem: 0x38000d50
fblen: 25600
stride: 160
display: 0
bpp: 16
Mapped FB: 0x38000d50
0: ( 0, 0) ( 80,160)
1: ( 7, 14) ( 66,132)
2: ( 14, 28) ( 52,104)
3: ( 21, 42) ( 38, 76)
4: ( 28, 56) ( 24, 48)
5: ( 35, 70) ( 10, 20)
Test finished
nsh>
```

### sdcard
Configure and build:
```
❯ ./tools/configure.sh -E -l weact-stm32h750:sdcard
❯ make -s -j$(nproc)
```
Open NuttShell on USART1:
```
❯ picocom -b 115200 /dev/ttyACM0
NuttShell (NSH) NuttX-12.10.0
nsh> uname -a
NuttX 12.10.0 189dce4619 Sep 14 2025 13:19:36 arm weact-stm32h750
nsh> ls
/:
dev/
proc/
nsh> mkdir /mnt
nsh> ls
/:
dev/
mnt/
proc/
nsh> mount -t vfat /dev/mmcsd0 /mnt
nsh> ls /mnt
/mnt:
test.txt
nsh> cat /mnt/test.txt
Test SD on board WEACT-STM32H750
nsh> echo "Hello, World!" > /mnt/test2.txt
nsh> cat /mnt/test2.txt
Hello, World!
nsh>
```
### usbnsh
Configure and build:
```
❯ ./tools/configure.sh -E -l weact-stm32h750:usbnsh
❯ make -s -j$(nproc)
```
Check new usb device after flashing and reboot your board:
```
❯ dmesg
[ 1752.783968] usb 1-1.4: new full-speed USB device number 7 using xhci_hcd
[ 1752.863987] usb 1-1.4: New USB device found, idVendor=0525,
idProduct=a4a7, bcdDevice= 1.01
[ 1752.864003] usb 1-1.4: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 1752.864009] usb 1-1.4: Product: CDC/ACM Serial
[ 1752.864012] usb 1-1.4: Manufacturer: NuttX
[ 1752.864015] usb 1-1.4: SerialNumber: 0
[ 1752.873908] cdc_acm 1-1.4:1.0: ttyACM1: USB ACM device
```
Open NuttShell over usb:
```
❯ picocom -b 115200 /dev/ttyACM1
NuttShell (NSH) NuttX-12.10.0
nsh> ?
help usage: help [-v] [<cmd>]
. cd expr mount source uptime
[ cp false mv test usleep
? cmp help printf time watch
alias dirname hexdump pwd true xd
unalias dmesg kill rm truncate
basename echo ls rmdir uname
break exec mkdir set umount
cat exit mkrd sleep unset
Builtin Apps:
dd nsh sh
nsh> uname -a
NuttX 12.10.0 189dce4619 Sep 14 2025 13:12:02 arm weact-stm32h750
nsh>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]