From f8aa9bc3b701701059f0367ce4a55f35fa6ab7bd Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Mon, 12 Nov 2018 22:15:49 +0000 Subject: [PATCH] use built-in ram --- config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.h b/config.h index 8a13c5b..8852f0c 100644 --- a/config.h +++ b/config.h @@ -1,9 +1,13 @@ #ifndef _CONFIG_H #define _CONFIG_H +#if defined(SPIRAM_CS) #define RAM_SIZE 0x3000 #define SPIRAM_BASE 0x3000 #define SPIRAM_EXTENT (20 * 1024 / 256) +#else +#define RAM_SIZE 0x8000 +#endif #define CPU_INSTRUCTIONS 1000