Replies: 1 comment 2 replies
-
but you can also add this to you json config:
and it writes it in the rio.ini file:
you can also add own .hal files and add it to: this two files will not be overwritten by the generator |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
a quick prototype of generation inception, this generates a new ini file from the rio generated file using templates.'
https://github.com/jschoch/riot
it should be pretty easy to use and or make optional in riocore. Right now all you need is to tell it where the template directory is and where the ini file is.
Quick example. the
$riogen
template var is where the rio generated section info goes.this generates
Basically it grabs each section of processed ini, if there is a template it just puts the section contents in. If there is no template it just puts the original values in. Pretty simple really.
The basic regen is working, i'd like to add the ability to restore the original config, backup/version changes, possibly a .config format for it.
Should be extendable for hal and other things. Also might make customizing a rioconf.c easier
Comments?
Beta Was this translation helpful? Give feedback.
All reactions