use built-in ram

This commit is contained in:
Stephen Crane 2018-11-12 22:15:49 +00:00
parent dfe08c4893
commit f8aa9bc3b7
1 changed files with 4 additions and 0 deletions

View File

@ -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