Skip to content

stm32/boards: Add WeAct_H743VI board support. - #17766

Merged
dpgeorge merged 1 commit into
micropython:masterfrom
yn386:WeAct_H743VI
Nov 29, 2025
Merged

dpgeorge merged 1 commit into
micropython:masterfrom
yn386:WeAct_H743VI

Conversation

@yn386

@yn386 yn386 commented Jul 25, 2025 •

Copy link
Copy Markdown
Contributor

Summary

This change adds WeAct STM32H743 Core Board support to the STM32 port.

WeAct STM32H743 Core Board:
https://github.com/WeActStudio/MiniSTM32H7xx

This board uses STM32H743VI:
https://www.st.com/en/microcontrollers-microprocessors/stm32h743vi.html

Testing

Tested:

  • REPL via USB VCP works.
  • SPI flash is available (8MB) as an internal storage.
  • QSPI flash is available (8MB) as ROMFS.
  • USB Storage is available.
  • Some peripherals (GPIO, SPI, I2C, Timer) works but not all peripherals are not tested.
  • run-tests.py passed.

Trade-offs and Alternatives

There is no negative impact because this change contains only adding board definition.

@github-actions

github-actions Bot commented Jul 25, 2025 •

Copy link
Copy Markdown

Code size report:

Reference:  stm32/boards/STM32F469DISC: Add board.json file. [22cff2f]
Comparison: stm32/boards/WEACTSTUDIO_MINI_STM32H743: Add WeAct H743VI board support. [merge of 9b73e34]
  mpy-cross:    +0 +0.000% 
   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:    +0 +0.000% PYBV10
     mimxrt:    +0 +0.000% TEENSY40
        rp2:    +0 +0.000% RPI_PICO_W
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
  qemu rv32:    +0 +0.000% VIRT_RV32

@mattytrentini

Copy link
Copy Markdown
Contributor

Just letting you know that I've already raised #12540 that adds the same board definition. It'd be great if you could take a look and see if there is any benefit from combining our efforts!

@yn386

yn386 commented Aug 1, 2025

Copy link
Copy Markdown
Contributor Author

@mattytrentini
Thank you for your information and I'm sorry that I could not find your PR before I post.
I will take a look and try to combine your efforts.

@yn386
yn386 marked this pull request as draft August 1, 2025 11:26
@yn386
yn386 force-pushed the WeAct_H743VI branch 2 times, most recently from 15da3f2 to ae646d4 Compare August 2, 2025 06:15
@yn386

yn386 commented Aug 2, 2025

Copy link
Copy Markdown
Contributor Author

Combined efforts from #12540: ae646d40df025d63ecc4aac2d72be7d5c459530d.
Also, Add ROMFS feature with QSPI flash.

@yn386
yn386 marked this pull request as ready for review August 2, 2025 06:26
@Josverl Josverl added the board-definition New or updated board definition files. Combine with a port- label. label Sep 18, 2025

@dpgeorge dpgeorge left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, and thanks for incorporating part of #12540.

Regarding the board name: the vendor is "WeAct Studio", and the board is "Mini STM32H743". So I suggest naming the board folder as:

WEACTSTUDIO_MINI_STM32H743

That matches the existing rp2 boards by WeAct Studio (namely WEACTSTUDIO and WEACTSTUDIO_RP2350B_CORE). And is also consistent with the naming that Zephyr chose for this board: https://docs.zephyrproject.org/latest/boards/weact/mini_stm32h743/doc/index.html

Comment thread ports/stm32/boards/WEACTSTUDIO_MINI_STM32H743/bdev.c
Comment thread ports/stm32/boards/WEACT_STM32H743/board.json Outdated
Comment thread ports/stm32/boards/WEACTSTUDIO_MINI_STM32H743/board_init.c
Comment thread ports/stm32/boards/WEACT_STM32H743/mpconfigboard.h Outdated
Comment thread ports/stm32/boards/WEACT_STM32H743/mpconfigboard.h Outdated
Comment thread ports/stm32/boards/WEACT_STM32H743/weact_stm32h743.ld Outdated
@yn386

yn386 commented Nov 27, 2025

Copy link
Copy Markdown
Contributor Author

Thank you for your review.
Now I changed the folder name of board definition to WEACTSTUDIO_MINI_STM32H743 and fixed your comment (1e8cb4f).

This change adds WeAct Studio Mini STM32H743 board support to the STM32
port.  Some of the work from PR micropython#12540 is combined here.

WeAct Studio Mini STM32H43 board:
https://github.com/WeActStudio/MiniSTM32H7xx

This board uses STM32H743VI:
https://www.st.com/en/microcontrollers-microprocessors/stm32h743vi.html

Signed-off-by: Yuuki NAGAO <[email protected]>

@dpgeorge dpgeorge left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating. It looks good now.

@dpgeorge
dpgeorge merged commit 9b73e34 into micropython:master Nov 29, 2025
10 checks passed
yn386 added a commit to yn386/micropython that referenced this pull request Feb 1, 2026
Add OctoSPI definition, ROMFS feature.
Combined efforts from micropython#12540, micropython#17766:
 * Change peripheral ports, pin definitions.
 * Change board definition name: WeAct_H723VG-> WEACT_STM32H723.
 * Add deploy.md.

Signed-off-by: Yuuki NAGAO <[email protected]>
yn386 added a commit to yn386/micropython that referenced this pull request Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

board-definition New or updated board definition files. Combine with a port- label. port-stm32

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants