Skip to content

Commit 2803eac

Browse files
authored
c5 flash base address is 0x2000
1 parent 7074736 commit 2803eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp32/Esp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ extern "C" {
6666
#define ESP_FLASH_IMAGE_BASE 0x2000 // Esp32p4 is located at 0x2000
6767
#elif CONFIG_IDF_TARGET_ESP32C5
6868
#include "esp32c5/rom/spi_flash.h"
69-
#define ESP_FLASH_IMAGE_BASE 0x0000 // Esp32c5 is located at 0x0000
69+
#define ESP_FLASH_IMAGE_BASE 0x2000 // Esp32c5 is located at 0x2000
7070
#else
7171
#error Target CONFIG_IDF_TARGET is not supported
7272
#endif

0 commit comments

Comments
 (0)