platformio.ini untouched, without src_dir
See original GitHub issueOperating system
macOS 10.12.5
Description of problem
Upon build, Deviot overwrites platformio.ini
with the user’s personal workspace data. It should not need to do this, and this workaround creates a nuisance and potential security risk for users of version control systems.
Steps to Reproduce
Do a new install of Deviot and PlatformIO. Use platformio.ini
in the manner allowed and prescribed by platformio.ini
documentation for a project that doesn’t have or want a src
folder.
Actual Results
The platformio.ini
file is altered, leading to the possibility that unique local environment info will be checked in as a change to the global repository.
Expected Results
The platformio.ini
file is read, properly groked by Deviot, and left untouched.
Issue Analytics
- State:
- Created 6 years ago
- Comments:31 (15 by maintainers)
Top Results From Across the Web
default_envs - Platformio Docs
src_dir. The path to the project's directory with source code. PlatformIO uses it for the pio run command. The default value is src...
Read more >“platformio.ini” (Project Configuration File)
ini is a configuration file that lets you set up your development environment, share your code and configurations with others, and leverage a...
Read more >Build options — PlatformIO v6.1 documentation
These flags/options affect the preprocessing, compilation, assembly, and linking processes for C and C++ code. All compiler and linker flags can be used....
Read more >Compiling library examples without recompiling unchanged files
--board d1_mini --build-dir /tmp/piobuild --keep-build-dir. I also tried a platformio.ini with [platformio] src_dir = examples/mqtt_pub ...
Read more >Best way to flash same code with different configs?
... put my devices into flash mode individually anyway), but since the platformio.ini remains untouched, only very few cpps are recompiled.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I originally had Use PIO Structure selected and got compile errors, but did not mean to indicate deviot changed the files. I agree it would be good to confirm it doesn’t just to be sure. (I can’t check right now as not at my system).
Thanks again for the great plugin ! ST3+Deviot/PIO is soooooo much better than Atom 🥇
-=dave
Great! I really want to get back to building Marlin 2.0.x for the other platforms. I’ve got boards to flash!