Skip to content

Error: × Misplaced key, check your configuration file. Key: 'partition_table' │ should be under [idf_format_args]! #554

@YGJH

Description

@YGJH

This was just a simple problem that I solved with AI.
When I ran the following command:

MCU=esp32c6 cargo espflash flash --target riscv32imc-esp-espidf --example ledc_simple --monitor

I got the following error:

Error: × Misplaced key, check your configuration file. Key: 'partition_table'
│ should be under [idf_format_args]!

I added the following lines to espflash.toml:

[idf_format_args]
partition_table = "partitions.csv"

It seemed to fix the issue, but I’m just curious — did I actually solve it the right way?
Maybe I’m wrong; I’m still a beginner with the ESP32.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions