Re:I love coding in C
by umvi on Thursday December 26, 2019 @02:59PM
(#21886255)
Not yet. Most of the stuff I've done is internal to my company unfortunately. But just to give you an idea, if I were adding a new configuration parameter to our IoT device, I would add an object to a JSON array that looks like this:
At build time, a few things are generated, including a .h file with the following:
The boilerplate for getting and setting this parameter is also generated. Thus, just by adding that simple piece of metadata, all the boilerplate and documentation is generated and you as the developer can focus on the actual logic that needs to be implemented regarding this parameter.
[ Parent
| on HN ]
There are no comments on this comment yet.