-
Notifications
You must be signed in to change notification settings - Fork 55
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
platformio.ini untouched, without src_dir #137
Comments
To avoid that, select |
I've pushed a fix, please use the developer branch following this instructions and let me know if that solved the problem. |
…the temp folder when "Use PlatformIO Structure" is activate Improvement: the 'src_dir' flag will be added before compile/upload the sketch and remove after the task is finished Issue: #137
Ok, I've pushed new changes, please check and let me know if this time it work as you expect |
open this issue again if you keep having problems |
Sorry for not getting back to you. It didn't resolve the problem but I questioned how to tell that I was in fact picking up the changes, and haven't had time to figure that out. |
@thinkyhead - are you still having this problem ? (I switched to Atom to try and get PIO working for the Re-ARM hw since DeVIoT appeared to not like the newer multi-line syntax for library inclusion as well as the src dir issue you reported) |
You keep getting the error or the changes didn't remove the |
Changes did remove the src_dir entry, and so would get error that it couldn't find the source files. It would leave all entries except src_dir, so it was partially fixed. This is the repo: https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x |
That is weird, I did replicate your issue the first time but after the last commit I don't got it anymore. The new multi-line syntax should work too, but you should check if you have installed the last version of platformio |
since you're intersted in fixing, I'll try to prioritize this |
Thanks I appreciate that If you still have installed deviot please try deselect |
Opened project Ensured "Use platformio structure" unselected in Deviot Selected Re-ARM, Compile, and it looks to have succeeded:
Reviewed changes to source, and found platformio.ini changed beyond the edit to consolidate the multi-line lib_deps, including removal of src filter for the selected Re-ARM env: ps- Let me know if you want me to open a new issue for the multi-line lib_deps issue. |
yes, would be good to open a new issue, so it will more easy to follow and better for future search from other users |
I didn't know about that, I'll copy you coment to the other issue and will let it open it to fix that |
It seems the subject should be changed back to it's original:
|
I don't think so, technically, the platformio file isn't corrupted, you can work with it, and the curruption word is more related to an error |
This appears to be fixed too 👍 (as long as "User PIO Structure" is not selected) Thanks @gepd ! |
I didn't note it changed something when |
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 |
Okay, latest report (soooooo close): When select "Compile", DevIoT will immediately duplicate first Selecting "Use PIO Structure" results in expected compile failure (cannot find source files) but I do not know if this is related to the fix for this issue, #144, or entirely new. Let me know if you would like me to open a separate issue, continue here, or re-open #144. Thanks, -=dave |
Fixed. You shouldn't have this problem in |
I've added a new option in As reference, read this issue to know why was neccesary to add this option It's available in |
Without "platformio.ini untouch" option selected (default), platformio.ini gets changed with many critical lines missing. I think it may be easier for you to see the problem yourself by simply download this repo snapshot: And perform the following (restarting where required): |
As of 2.2.0 d12, without "platformio.ini untouch" option, the However with the new "platformio.ini untouch" option enabled, -=dvae |
I haven't been using Deviot for a few months while awaiting patches, but I will give the latest version a shot. Thanks for being diligent about these issues! |
@thinkyhead - you have to enable dev Deviot branch (currently rev12), plus enable Use development PIO, and don't enable "platformio.ini untouch" and it's been working like a charm. |
Great! I really want to get back to building Marlin 2.0.x for the other platforms. I've got boards to flash! |
Operating 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 byplatformio.ini
documentation for a project that doesn't have or want asrc
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.The text was updated successfully, but these errors were encountered: