M-o-a-T / owslave

Master code for slave devices
GNU General Public License v3.0
18 stars 7 forks source link

split world.cfg into local and global #1

Closed stromnet closed 9 years ago

stromnet commented 9 years ago

Would it be possible to split world.cfg into a local file, where i.e. my devices are located, and a global file where all definitions of i.e. ds2423 and other stuff is located? This would simplify merges in the future, and avoid accidental commits of private device configurations.

Also, write_eeprom expects a moat.cfg, unless CFG env var is set. Should this not be world.cfg?

smurfix commented 9 years ago

On 27.05.2015 08:02, Johan Ström wrote:

Would it be possible to split world.cfg into a local file, where i.e. my devices are located, and a global file where all definitions of i.e. ds2423 and other stuff is located?

Feel free to implement an _include directive. ;-) Also, |write_eeprom| expects a |moat.cfg|, unless CFG env var is set. Should this not be |world.cfg|? Right.

-- Matthias Urlichs

smurfix commented 9 years ago

_include directive added.