mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 16:59:28 +08:00
esp32s2-saola-1: Use cache-related definitions from Kconfig
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
bc071ec243
commit
7cb8f02ecc
@@ -16,20 +16,6 @@
|
|||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
#ifdef CONFIG_ESP32S2_INSTRUCTION_CACHE_8KB
|
|
||||||
# define CONFIG_ESP32S2_INSTRUCTION_CACHE_SIZE 0x2000
|
|
||||||
#else
|
|
||||||
# define CONFIG_ESP32S2_INSTRUCTION_CACHE_SIZE 0x4000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_ESP32S2_DATA_CACHE_0KB
|
|
||||||
# define CONFIG_ESP32S2_DATA_CACHE_SIZE 0
|
|
||||||
#elif defined CONFIG_ESP32S2_DATA_CACHE_8KB
|
|
||||||
# define CONFIG_ESP32S2_DATA_CACHE_SIZE 0x2000
|
|
||||||
#else
|
|
||||||
# define CONFIG_ESP32S2_DATA_CACHE_SIZE 0x4000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define RAM_IRAM_START 0x40020000
|
#define RAM_IRAM_START 0x40020000
|
||||||
#define RAM_DRAM_START 0x3ffb0000
|
#define RAM_DRAM_START 0x3ffb0000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user