Skip to content
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

configuring and calling the script via Kconfig and CMake. #22

Open
Tracked by #4
TjazVracko opened this issue Jan 27, 2023 · 0 comments
Open
Tracked by #4

configuring and calling the script via Kconfig and CMake. #22

TjazVracko opened this issue Jan 27, 2023 · 0 comments
Labels
type: feature request New feature or request.

Comments

@TjazVracko
Copy link
Collaborator

TjazVracko commented Jan 27, 2023

Required steps / Implementation details

The code generation outlined in #21 has to be enabled via a KConfig variable, The path to the settings JSON should be a separate variable.

Add CMake "code" that will add the JSON file as a dependency and re-run the code gen script whenever it changes.
(add_custom_target, add_custom_command - SO LINK). See the version info lib and talk to Marko for some guidance here.

Add a sample demonstrating the use.

Definition of Done

Code in written, tested and reviewed. The sample works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant