Skip to content

{bp-19387} boards/arm/stm32f7: switch board common to boards/arm/common/stm32 - #19677

Open
jerpelea wants to merge 4 commits into
apache:releases/13.0from
jerpelea:bp-19387
Open

{bp-19387} boards/arm/stm32f7: switch board common to boards/arm/common/stm32#19677
jerpelea wants to merge 4 commits into
apache:releases/13.0from
jerpelea:bp-19387

Conversation

@jerpelea

@jerpelea jerpelea commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

switch stm32f7 board common to boards/arm/common/stm32.

Move the STM32F7-only board-common features into the shared directory so they are available to every STM32 family:

bmi270, cs4344, can_setup, cansock_setup, reset, romfs_initialize and spitest
the duplicate stm32_bh1750 is removed (already present in common).

Includes
#19389

Impact

RELEASE

Testing

CI

switch stm32f7 board common to boards/arm/common/stm32.

Move the STM32F7-only board-common features into the shared directory
so they are available to every STM32 family:

  - bmi270, cs4344, can_setup, cansock_setup, reset, romfs_initialize and
    spitest
  - the duplicate stm32_bh1750 is removed (already present in common).

Signed-off-by: raiden00pl <raiden00@railab.me>
Wire the STM32H7 family to the shared boards/arm/common/stm32 board-common
directory.

Drop the local copies that are already provided by the shared directory:

  - stm32_reset.c from nucleo-h723zg, nucleo-h743zi, nucleo-h743zi2,
    nucleo-h753zi, stm32h745i-disco and stm32h750b-dk
  - stm32_romfs_initialize.c and stm32_romfs.h from nucleo-h743zi (identical
    to the shared versions)

Enable CONFIG_ARCH_BOARD_COMMON=y in the configs that use CONFIG_BOARDCTL_RESET
or CONFIG_STM32_ROMFS so board_reset()/romfs are pulled from the shared
directory.

Signed-off-by: raiden00pl <raiden00@railab.me>
always select STM32_QE is STM32_QEx enabled

Signed-off-by: raiden00pl <raiden00@railab.me>
@github-actions github-actions Bot added Area: Build system Arch: arm Issues related to ARM (32-bit) architecture Size: L The size of the change in this PR is large Board: arm labels Aug 4, 2026
@jerpelea

jerpelea commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

fixes arm-12 CI failure
#19617

@jerpelea

jerpelea commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

PLEASE DO NOT MERGE UNLESS CI PASSES!

… cards

The STM32H7, STM32F7, STM32L4 and common STM32 SDIO/SDMMC drivers failed
to program the WIDBUS bits when switching MMC/eMMC cards to 4-bit mode,
and the MMC transfer clock presets were hardwired to 1-bit bus width.

Add CLOCK_MMC_TRANSFER_4BIT to the common SDIO clock enum, add 4-bit
MMC clock presets, and update stm32_widebus() to use modifyreg32/
sdmmc_modifyreg32 to set the host controller bus width.

Signed-off-by: DuoYuWang <thirteenking.wang@gmail.com>
@jerpelea
jerpelea requested a review from antmerlino as a code owner August 4, 2026 08:25
@jerpelea

jerpelea commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

@cederom another missing one apache/nuttx-apps#3698

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

Labels

Arch: arm Issues related to ARM (32-bit) architecture Area: Build system Board: arm Size: L The size of the change in this PR is large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants