4 years, 2 months ago.

STM32L4 SRAM2 memory missing

The STM32L4 has two memory banks SRAM2@0x10000000 and SRAM1@0x20000000. Unfortunately the mbed runtime does not use the SRAM2 memory, except for 98 vectors. This means we loose 16k or 32k depending on target model.

I was hoping to add this memory to the heap via the user_setup_stackheap(), however it looks like this is not available using the mbed online compiler.

I tested this on the STM32L4Nucleo64, however all STM32L4 are affected.

Any ideas?

Be the first to answer this question.