Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d66eeb7

Browse files
Jason2866pre-commit-ci-lite[bot]
authored andcommitted
c5 flash base address is 0x2000 (espressif#11037)
* c5 flash base address is 0x2000 * ci(pre-commit): Apply automatic fixes --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent 3fe2fe5 commit d66eeb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎cores/esp32/Esp.cpp‎

Lines changed: 3 additions & 3 deletions
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
@@ -306,11 +306,11 @@ const char *EspClass::getChipModel(void) {
306306
case CHIP_ESP32H2: return "ESP32-H2";
307307
case CHIP_ESP32P4: return "ESP32-P4";
308308
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 5, 0)
309-
case CHIP_ESP32C5: return "ESP32-C5";
309+
case CHIP_ESP32C5: return "ESP32-C5";
310310
case CHIP_ESP32C61: return "ESP32-C61";
311311
case CHIP_ESP32H21: return "ESP32-H21";
312312
#endif
313-
default: return "UNKNOWN";
313+
default: return "UNKNOWN";
314314
}
315315
#endif
316316
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /