Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork114
Add build.project_path to global properties#119
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This patch adds the build.project_path to the global properties.
robertinant commentedMar 23, 2016
@facchinm, any chance this can get pulled in into the next version? Thanks! Robert |
facchinm commentedMar 25, 2016
Hi Robert, |
robertinant commentedApr 5, 2016
My excuses for the delay in replying to this. I wan't aware of#29 and my request is unrelated. What I am after is that when the Sketch is unsaved (e.g. I open an example and hit verify), the unsaved Sketch is written to a tmp dir. Currently arduino builder does not provide a way to know what that path is. My preprocessing tool (ino2cpp.jar) needs access to that path so that I can run the preprocessor on the Sketch. Thanks! Robert |
Conflicts:src/arduino.cc/builder/setup_build_properties.go
robertinant commentedMay 26, 2016
@facchinm any chance that this can get pulled into the next version? This will help me a lot with not having to maintain my own version of the builder. Thanks! Robert |
PaulStoffregen commentedMay 26, 2016
If merged, this almost certainly will open the door to#29 |
robertinant commentedMay 26, 2016
I am not understanding what#29 tries to do. The Sketch folder, if the Sketch is saved, can be figured out without issues. The issue for me is that if the Sketch is not saved, arduino-builder saves it to a temporary folder which is not exposed and thus inaccessible. So the only thing I am asking for is that the Sketch folder is know in the unsaved case which is no different from the saved case. Hope this helps. |
robertinant commentedSep 13, 2016
Any chance this can still be pulled in? If not then please do close this pull request. The unfortunate result of not pulling this in will be that some of the targets currently available in Energia will not work in the Arduino IDE. The reason for this pull request was to enable the Arduino IDE to pull in those Texas Instruments targets that depend on this pull request. If not pulled in, then that's OK really, I'll just disable those targets in the json file consumed by the "Additional Boards Manager URL's". Thanks for considering this pull request. Really appreciate it! As an off topic note. Thank you for the awesome work on arduino-builder! You did a great job pulling the build system out of the IDE with arduino-builder! Robert |
Walther commentedJan 15, 2018
Hey! Sorry for bumping such an old PR, but this would still be nice to have, as commented above. (I came here frommicrosoft/vscode-arduino#355 ) |
CLAassistant commentedApr 9, 2021
|
This patch adds the build.project_path to the global properties.
One of my tools that I run as a recipe.hooks.sketch.prebuild step needs access to the path the Sketch is located at. Would be great if you could pull this!