IRNAS / irnas-usersettings-lib

User settings library for Zephyr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

configuring and calling the script via Kconfig and CMake.

TjazVracko opened this issue · comments

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.