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

littlefs-do: Parse C++ class Settings to reduce maintenance burden #54

Open
NeroBurner opened this issue Aug 29, 2022 · 0 comments · May be fixed by #62
Open

littlefs-do: Parse C++ class Settings to reduce maintenance burden #54

NeroBurner opened this issue Aug 29, 2022 · 0 comments · May be fixed by #62

Comments

@NeroBurner
Copy link
Collaborator

happy you like the settings command, unfortunately it is high maintenance, but I like it as well :)

Theoretically, it should be possible to parse the class Settings to discover the fields of the settings at build or run time. Probably not easy to do, but that would reduce the maintenance for this feature :)

Originally posted by @JF002 in #52 (comment)

NeroBurner added a commit that referenced this issue Sep 12, 2022
Add and use the python script `parse_infinitime_settings.py` to generate
the file `list_settings.cpp` with helper function `list_settings()` to reduce
the maintenance burden by not having to manually handle changes in
`Settings.h`.

Fixes: #54
NeroBurner added a commit that referenced this issue Sep 12, 2022
Add and use the python script `parse_infinitime_settings.py` to generate
the file `list_settings.cpp` with helper function `list_settings()` to reduce
the maintenance burden by not having to manually handle changes in
`Settings.h`.

Fixes: #54
NeroBurner added a commit that referenced this issue Sep 18, 2022
Add and use the python script `parse_infinitime_settings.py` to generate
the file `list_settings.cpp` with helper function `list_settings()` to reduce
the maintenance burden by not having to manually handle changes in
`Settings.h`.

Fixes: #54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant