Skip to content

Add stm32h743 board family#105

Open
nuraci wants to merge 3 commits intolvgl:masterfrom
Copper-And-Code:add-stm32h743-board-family
Open

Add stm32h743 board family#105
nuraci wants to merge 3 commits intolvgl:masterfrom
Copper-And-Code:add-stm32h743-board-family

Conversation

@nuraci
Copy link
Copy Markdown

@nuraci nuraci commented Mar 30, 2026

Summary

Fixed an error reported by the build process

Testing

  • Build firmware for DEV190806042: make BOARD=DEV190806042

Summary by cubic

Adds STM32H743 board family support with QSPI flash, external SDRAM, LTDC display, and USB FS, and fixes an SD card build error on STM32H7_CORE V10 by using SDMMC2 and the correct pins.

  • New Features

    • Adds DEV190806042, FK743M5-XIH6, and STM32H7_CORE (variants V10 and V13).
    • QSPI flash block device with cache; board-specific sizes and prescaler.
    • 32MB SDRAM enabled with startup test and heap placement when valid.
    • USB FS (2x CDC + MSC) and LTDC/DMA2D with LVGL hooks.
    • Board-specific linker scripts and HAL config for H743 clocks/memory.
    • Internal flash storage disabled to avoid known option-bytes issue.
  • Bug Fixes

    • STM32H7_CORE V10: route SD card to SDMMC2 to fix build failure.

Written for commit d84e00f. Summary will update on new commits.

Nunzio Raciti added 3 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.
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

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/FK743M5-XIH6/mpconfigboard.mk">

<violation number="1" location="ports/stm32/boards/FK743M5-XIH6/mpconfigboard.mk:10">
P2: Board config hard-codes LVGL module paths that don’t exist in the repo, likely breaking builds for this board in a clean checkout.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant