It’s not clear how to use Platform IO to run “make settings-generate” to generate the settings* files for a simba project. The “make” utility doesn’t even really execute properly within the project.
Checklist:
- Need to run make settings-generate
- Need to include .c .h files in at compile time
- Not sure about .bin files
According to:
http://simba-os.readthedocs.io/en/latest/library-reference/oam/settings.html
The build system variable SETTINGS_INI contains the path to the ini-file used by the build system. Set this variable to the path of yours application ini-file and run make settings-generate to generate four files; settings.h, settings.c, settings.little-endian.bin and settings.big-endian.bin.
Also add this to the Makefile: SRC += settings.c and include settings.h in the source files that accesses the settings.