summaryrefslogtreecommitdiff
path: root/chip/host/config_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/config_chip.h')
-rw-r--r--chip/host/config_chip.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chip/host/config_chip.h b/chip/host/config_chip.h
index b8d46c47ac..17bd46cf88 100644
--- a/chip/host/config_chip.h
+++ b/chip/host/config_chip.h
@@ -22,6 +22,14 @@ extern char __host_flash[CONFIG_FLASH_SIZE];
#define CONFIG_FPU
+/* Memory-mapped internal flash */
+#define CONFIG_INTERNAL_STORAGE
+#define CONFIG_MAPPED_STORAGE
+
+/* Program is run directly from storage */
+#define CONFIG_MAPPED_STORAGE_BASE CONFIG_PROGRAM_MEMORY_BASE
+
+/* Compute the rest of the flash params from these */
#include "config_std_internal_flash.h"
/* Maximum number of deferrable functions */