Skip to content

Document method for specifying data_dir for each build environmet #374

@jonsummers

Description

@jonsummers

It is useful to have a different data_dir per env
and the feature as requested
platformio-core#4126
for override at env level has not been implemented.

That feature request did however contain WISDOM for how to specify different data_dir per env

[platformio]
data_dir = ${PROJECT_DIR}/data-${PIOENV}

Would be helpful if the data_dir documentation could be updated to include this workaround.

As mentioned Different SPIFFS images for different build environments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions