Skip to content

Latest commit

 

History

History
86 lines (64 loc) · 3.44 KB

File metadata and controls

86 lines (64 loc) · 3.44 KB

Configuration

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):

  1. Loads predefined :ref:`baseconf` options.
  2. Loads options from :ref:`wsdir`.
  3. Loads :ref:`consoleopts`.

Note

The Configuration Parser redefines options step by step (from #1 to #3). The :ref:`consoleopts` step has the highest priority.

Base Configuration

The Base Configuration is predefined in SmartAnthill System. See config_base.json.

Workspace Directory

SmartAnthill uses --workspacedir for:

  • finding user's specific start-up configuration options. They must be located in the smartanthill.json file. (Check the list of the available options here)
  • finding the Plugins for SmartAnthill System (should be located in plugins directory, see examples)
  • storing the settings about embedded boards/MCUs
  • storing the another working data.

Warning

The Workspace Directory must have Written Permission

Console Options

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