Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build directory based on the build type #4373

Open
ivankravets opened this issue Jul 29, 2022 · 0 comments
Open

Build directory based on the build type #4373

ivankravets opened this issue Jul 29, 2022 · 0 comments

Comments

@ivankravets
Copy link
Member

ivankravets commented Jul 29, 2022

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")
@ivankravets ivankravets added this to the 6.2 milestone Jul 29, 2022
@ivankravets ivankravets changed the title Make builds isolated in working environment based on a build type Cache working environment compiled objects based on a build type Jul 29, 2022
@ivankravets ivankravets changed the title Cache working environment compiled objects based on a build type Cache working environment built objects based on a build type Jul 29, 2022
@ivankravets ivankravets modified the milestones: 6.2, Backlog Jul 30, 2022
@ivankravets ivankravets modified the milestones: Backlog, 6.2 Jul 11, 2023
@ivankravets ivankravets changed the title Cache working environment built objects based on a build type Build directory based on the build type Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant