Skip to content
Commit a60d7741 authored by Francois Ramu's avatar Francois Ramu Committed by Benjamin Cabé
Browse files

drivers: flash: stm32wba6x add flash driver support



-The stm32wba6x has Dual Bank memory. Change the flash driver
 to support this OPTion given by presence of the
 DUAL_BANK bit (21) in the FLASH_OPTR register.

-Flash erase with 2 banks: Add the control of the BKER
 bit of the FLASH_NSCR1 to select BANK1 or 2 of
 the internal flash depending
 on the page number >127 for BANK2

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent 940993cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment