rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
global_port.h
Go to the documentation of this file.
1// DTCM memory is 128k
2#define CCM_OPTIONAL __attribute__((section(".ram3")))
3//TODO: update LD file!
4#define SDRAM_OPTIONAL __attribute__((section(".ram7")))
5
6// SRAM2 is 16k and set to disable dcache (see STM32_NOCACHE_ENABLE in mcuconf.h)
7// we have another way to put something in no cache area - __nocache_ prefix in name
8#define NO_CACHE __attribute__((section(".ram2")))
9
10// TODO: test and switch to this
11// Current ChibiOS puts nocache data into SRAM3/DTCM that is not chached by design
12//#define NO_CACHE __attribute__((section(".ram3")))
13
14#define BKUP_RAM_NOINIT __attribute__((section(".bkup_ram_noinit")))