Add STM32H743 board support: DEV190806042, FK743M5-XIH6, STM32H7_CORE#104
Open
nuraci wants to merge 2 commits intolvgl:masterfrom
Open
Add STM32H743 board support: DEV190806042, FK743M5-XIH6, STM32H7_CORE#104nuraci wants to merge 2 commits intolvgl:masterfrom
nuraci wants to merge 2 commits intolvgl:masterfrom
Conversation
added 2 commits
March 26, 2026 08:46
Add board definitions for three STM32H743-based boards with external SDRAM, QSPI flash, USB and RGB display via LTDC. STM32H7_CORE supports two hardware variants (V1.0/V1.3) via the variant system.
The V10 hardware revision routes the SD card to SDMMC2 (pins B14, B15, B3, B4, D6, D7) instead of SDMMC1. Without MICROPY_HW_SDCARD_SDMMC=2 the driver looks up those pins in the SDMMC1 AF table and fails to build.
There was a problem hiding this comment.
1 issue found across 26 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="ports/stm32/boards/DEV190806042/mpconfigboard.mk">
<violation number="1" location="ports/stm32/boards/DEV190806042/mpconfigboard.mk:16">
P2: DEV190806042 uses FK743M5-XIH6 linker script despite having its own stm32h743.ld; this can link against the wrong memory layout.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on: lvgl/lv_binding_micropython#407
Summary
Add board definitions for three affordable STM32H743-based boards commonly
available on Aliexpress, featuring external SDRAM (16–32 MB), QSPI flash
(8–32 MB), USB, UART and RGB display output via the LTDC peripheral.
two hardware variants (V1.0 / V1.3) with different pin assignments
Each board provides: mpconfigboard.h, mpconfigboard.mk, board.json, pins.csv,
bdev.c (QSPI block device), stm32h743.ld (linker script with SDRAM section)
and stm32h7xx_hal_conf.h (with LTDC/DMA2D HAL modules enabled).
The STM32H7_CORE board uses the MicroPython variant system
(mpconfigvariant_V10.mk / mpconfigvariant_V13.mk) to handle the two
hardware revisions.
Test plan
make BOARD=DEV190806042make BOARD=FK743M5-XIH6make BOARD=STM32H7_CORE BOARD_VARIANT=V10make BOARD=STM32H7_CORE BOARD_VARIANT=V13gc.mem_free())Boards docs, photos and videos
https://github.com/Copper-And-Code/stm32h7-boards-docs
micropython sample code and tools
https://github.com/Copper-And-Code/lv_micropython_code_and_tools
Summary by cubic
Adds board support for three STM32H743 boards with external SDRAM, QSPI flash storage, and LTDC RGB display output. USB CDC/MSD is enabled, SD is supported where present, and the heap is moved to SDRAM for more memory.
New Features
DEV190806042,FK743M5-XIH6, andSTM32H7_CORE(V1.0/V1.3) board definitions.FK743M5-XIH6andSTM32H7_CORE(V1.0 uses SDMMC2).Dependencies
lv_binding_micropythonPR 407 for thest_ltdcdriver and manifest.Written for commit a763dc8. Summary will update on new commits.