Skip to content

Build directory based on the build type #4373

Description

@ivankravets

A known issue when PlatformIO rebuilds the project every time when the user flashes the board in the release mode and later starts debugging.


Replace

BUILD_DIR = os.path.join("$PROJECT_BUILD_DIR", "$PIOENV")

to

BUILD_DIR = os.path.join("$PROJECT_BUILD_DIR", "$PIOENV", "$BUILD_TYPE")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions