Skip to content

Request for Hooks in the Build process #2732

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

Closed
Wackerbarth opened this issue Mar 5, 2015 · 1 comment
Closed

Request for Hooks in the Build process #2732

Wackerbarth opened this issue Mar 5, 2015 · 1 comment
Labels
Component: Compilation Related to compilation of Arduino sketches Component: Preprocessor The Arduino sketch preprocessor converts .ino files into C++ code before compilation Component: Toolchain The tools used for compilation and uploading to Arduino boards feature request A request to make an enhancement (not a bug fix)

Comments

@Wackerbarth
Copy link
Contributor

It would be very useful to be able to add a recipe to the platform specification that is executed at the start of the build process. (pre-build)

In particular, my use case is to generate version strings which will be incorporated in the Rom image based on information extracted from a SCM repository. However, the concept is generic and I am sure that there are other uses.

Similarly, a (post-build) hook should be provided to allow platform-specific actions at the end

@ffissore
Copy link
Contributor

ffissore commented Mar 5, 2015

That's a very nice enhancement. We are currently working on a redesign of the build process (while keeping platform.txt unchanged): I hope we'll find time for this implementation in the coming months. Any code contribution is well accepted

@ffissore ffissore added feature request A request to make an enhancement (not a bug fix) Component: Toolchain The tools used for compilation and uploading to Arduino boards Component: Preprocessor The Arduino sketch preprocessor converts .ino files into C++ code before compilation Component: Compilation Related to compilation of Arduino sketches labels Mar 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Compilation Related to compilation of Arduino sketches Component: Preprocessor The Arduino sketch preprocessor converts .ino files into C++ code before compilation Component: Toolchain The tools used for compilation and uploading to Arduino boards feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

2 participants