Signed-off-by: Rahix <email@example.com>
Adds simple config parser along with config_ API that: - supports default values for options - allows typed querying of config values - types supported: boolean, integer, floating point and string unknown options are ignored and LOG_WARNed on the console
See merge request card10/firmware!249
full == filled symbol, near empty == empty battery symbol, etc.
With only a little bit of effort, the drawing code can be made a lot more pythonic. `== True` and `== False` are never acceptable, and for loops simply don't execute if the iterator is empty - no need to check.