]> granicus.if.org Git - esp-idf/commitdiff
soc: correct values of SOC_BYTE_ACCESSIBLE_LOW, SOC_MEM_INTERNAL_LOW
authorIvan Grokhotkov <ivan@espressif.com>
Wed, 18 Oct 2017 04:18:38 +0000 (12:18 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Thu, 19 Oct 2017 13:35:21 +0000 (21:35 +0800)
Internal byte accessible memory starts with Internal ROM 1 at 0x3FF90000.
Region of RTC fast memory starting at 0x3FF80000 is not used in IDF as
it is mapped to PRO CPU only.

components/soc/esp32/include/soc/soc.h

index 0e633821fdb6aa36cca330344d0bed38eb9d6208..fe8a69b380397b40f4bda9d54a05f24ffde9fbc0 100644 (file)
 #define SOC_DMA_HIGH 0x40000000
 
 // Region of memory that is byte-accessible. See esp_ptr_byte_accessible().
-#define SOC_BYTE_ACCESSIBLE_LOW     0x3FFAE000
+#define SOC_BYTE_ACCESSIBLE_LOW     0x3FF90000
 #define SOC_BYTE_ACCESSIBLE_HIGH    0x40000000
 
-//Region of memory that is internal, as in on the same silicon die as the ESP32 CPUs (excluding RTC data region, that's checked separately.) See esp_ptr_internal().
-#define SOC_MEM_INTERNAL_LOW        0x3F400000
+//Region of memory that is internal, as in on the same silicon die as the ESP32 CPUs
+//(excluding RTC data region, that's checked separately.) See esp_ptr_internal().
+#define SOC_MEM_INTERNAL_LOW        0x3FF90000
 #define SOC_MEM_INTERNAL_HIGH       0x400C2000