-
Notifications
You must be signed in to change notification settings - Fork 132
Add support for "build hooks (since IDE 1.6.5)" #927
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
Comments
Workaround: |
There are more boards/options that have this issue. Problem is that make is not meant to insert actions like this. |
If the workaround as proposed in #984 really works that may be a good solution for most of the arduino hooks:
For following hooks I see no real solution with the #984 workaround:
But the following can be fixed with the pre build cdt options because sloeber.ino.cpp is the very first file compiled
The problem with the libraries and core hooks is that it assumes a order of compilation of the source files. CDT and make (and thus Sloeber) do not do this. |
added support for pre_link post_link and pre_build though pre_build is not documented :-(
Somebuild hooks have been implemented now. |
The arduino hardware specification https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification specifies Pre and post build hooks (since IDE 1.6.5)
recipe.hooks.sketch.prebuild.NUMBER.pattern (called before sketch compilation) is used by nucleo making the build fail
The text was updated successfully, but these errors were encountered: