How to use all RAM regions (SRAM1/SRAM2/CCMDATARAM)
Hi, I am working with STM32F407VETx and it has total 192kb RAM, but its split into 3 regions:
#define SRAM1_BASE 0x20000000UL // SRAM1(112 KB)
#define SRAM2_BASE 0x2001C000UL // SRAM2(16 KB)
#define CCMDATARAM_BASE 0x10000000UL // CCM(core coupled memory) data RAM(64 KB)
My question how do I use all those 3 regions?
I assume 1st region (SRAM1) will be used by default by compiler?
Can I simply use 2nd and 3rd regions (SRAM2/CCMDATARAM) by assigning address to variable?
static uint8_t *Cache2 = (uint8_t *)0x2001C000; //16kb sector2
static uint8_t *Cache3 = (uint8_t *)0x10000000; //64kb sector3Also how is IRAM2 used by compiler? And why there is no IRAM3?

