No core dump partition found

Using ESP32-S3-DEVKIT-C1
Get “esp_core_dump_flash: No core dump partition found!:” message when running program. What am I missing to prevent this message? (coming up empty handed googling on this one)

Full output:

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbec
load:0x403cc700,len:0x2920
entry 0x403c98d8
E (82) esp_core_dump_flash: No core dump partition found!
E (82) esp_core[    89][I][main.cpp:15] setup(): [setup] PSRAM is correctly initialized
[    89][I][main.cpp:17] setup(): [setup] PSRAM Size available (bytes): 8385903

Minimal code:

#include <Arduino.h>
void setup()
{
  static const char *TAG = "setup";
  Serial.begin(115200);
  while (!Serial)
  {
  }

  if (psramInit())
  {
    ESP_LOGI(TAG, "PSRAM is correctly initialized");
    int available_PSRAM_size_after = ESP.getFreePsram();
    ESP_LOGI(TAG, "PSRAM Size available (bytes): %d", available_PSRAM_size_after); // Free memory space has decreased
  }
  else
  {
    ESP_LOGE(TAG, "PSRAM not available.  HALTING");
    while (1)
      ;
  }

void loop() {}

Platformio:

[env:esp32-s3-devkitc-1]

platform = espressif32

board = esp32-s3-devkitc-1

board_build.arduino.memory_type = dio_opi

framework = arduino

;upload_protocol = esp-prog

;debug_tool = esp-prog

;debug_speed = 5000

;debug_init_break = tbreak setup

board_build.partitions = default_partitions.csv

lib_ldf_mode = deep

lib_extra_dirs = ~/Documents/Arduino/libraries

build_flags =

-fmax-errors=5

-I./src/

-DCORE_DEBUG_LEVEL=5

-DBOARD_HAS_PSRAM

-mfix-esp32-psram-cache-issue

;lib_deps =

monitor_speed = 115200

default_partitions.csv

# Name,   Type, SubType, Offset,  Size, Flags
nvs,      data, nvs,     0x9000,  0x5000,
otadata,  data, ota,     0xe000,  0x2000,
app0,     app,  ota_0,   0x10000, 0x140000,
app1,     app,  ota_1,   0x150000,0x140000,
spiffs,   data, spiffs,  0x290000,0x170000,

And have you tried to add a cordump partition per Core Dump - ESP32 - — ESP-IDF Programming Guide latest documentation?

Thank you. It is interesting to me that the discussion on partitions from which I got my default_partitions.csv file had no mention of the core dump partition. I wonder if I really will ever use it.

How did you enable the core dump flash for an Arduino project? I had read that you had to enable this in the menuconfig of the ESP-IDF

Good morning in the morning!
I’m programming an ESP32-CAM and I think I don’t need the coredump feature. So I don’t want to reserve a place for coredump in the partition table.
How can I configure coredump in Arduino framework in order to disable it and not have the error 'No coredump partition found!"?

Maybe it’s hardcoded to look for one (–> ask in Issues · espressif/arduino-esp32 · GitHub). In any case, I think you can set the partition size for the coredump to only a few kilobyte, so they shouldn’t have an impact on anything.

Thank you very much Max!
I’ll ask there