SmartAnthill uses JSON human-readable format for data serialization. This syntax is easy for using and reading.
The SmartAnthill Configuration Parser gathers data in the next order (steps):
- Loads predefined :ref:`baseconf` options.
- Loads options from :ref:`wsdir`.
- Loads :ref:`consoleopts`.
Note
The Configuration Parser redefines options step by step (from #1 to #3). The :ref:`consoleopts` step has the highest priority.
The Base Configuration is predefined in SmartAnthill System. See config_base.json.
SmartAnthill uses --workspacedir for:
- finding user's specific start-up configuration options. They must be located
in the
smartanthill.jsonfile. (Check the list of the available options here) - finding the Plugins for SmartAnthill System (should be located in
pluginsdirectory, see examples) - storing the settings about embedded boards/MCUs
- storing the another working data.
Warning
The Workspace Directory must have Written Permission
The simple options that are defined in :ref:`baseconf` can be redefined through console options for SmartAnthill Application.
The whole list of usage options for SmartAnthill are accessible via:
smartanthill --help