Skip to content

STM32 QSPI support#3691

Draft
kasjer wants to merge 3 commits into
apache:masterfrom
kasjer:kasjer/stm32-qspi
Draft

STM32 QSPI support#3691
kasjer wants to merge 3 commits into
apache:masterfrom
kasjer:kasjer/stm32-qspi

Conversation

@kasjer

@kasjer kasjer commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This:

  • adds QSPI functionality for supported devices.
  • adds configuration of QSPI to STM327Disovery board
  • correct flash map for discovery board where flash map did not match MCU's sectors (Fixes: stm32f7disovery has incorrect flash map #3651)
  • adds pin definitions for all peripherals present on discovery board.

@github-actions github-actions Bot added STM STM32 related BSP size/xl labels Jun 29, 2026
@kasjer kasjer marked this pull request as draft June 29, 2026 13:50
This adds way to configure MPU (v7) using link
tables.

User code will just have to declare MPU etrny in
any place to add region to MPU.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
@kasjer kasjer force-pushed the kasjer/stm32-qspi branch 2 times, most recently from c5d7f9a to affecab Compare July 1, 2026 07:23
This adds QSPI driver for STM32.

With QSPI external flash access is more efficient
that by simply using SPI.

Flash can be mapped to memory and XPI functionalit
cab be utinlized.

1,2,4 line can be used for data

Writes to memory mapped device is also supported.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
@kasjer kasjer force-pushed the kasjer/stm32-qspi branch from affecab to a925ae9 Compare July 1, 2026 07:26
Changes:
- corrects flash map of stm32f7discovery (adds QSPI)
- adds constant for peripheral pins

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
@kasjer kasjer force-pushed the kasjer/stm32-qspi branch from a925ae9 to 1384a46 Compare July 1, 2026 07:37
@kasjer kasjer added the skip-style-check Use for exceptional cases only label Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BSP size/xl skip-style-check Use for exceptional cases only STM STM32 related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stm32f7disovery has incorrect flash map

1 participant