cancel
Showing results for 
Search instead for 
Did you mean: 

How is the flash memory of my STM32L4S5VIT organized?

davbergar
Associate II

according to the reference manual. This can be organized in 1 bank of 2mb or in several banks. 

I have created a default project with the stm32cubeide and I would like to know in which mode the flash memory is configured by default. I can't figure out what mode it is in.

Can someone help me with this? Thanks

1 REPLY 1
Sarra.S
ST Employee

Hello @David Bermúdez​,

In STM32CubeIDE, the stm32l4s5xx.h file contains the memory map, the flash memory region should be defined with a starting address and a size.

If flash bank2 macro is not defined then your project contains a single bank

Hope that helps!

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.