crownstone / bluenet

Bluenet is the in-house firmware on Crownstone hardware. Functions: switching, dimming, energy monitoring, presence detection, indoor localization, switchcraft.
https://crownstone.rocks
91 stars 62 forks source link

Use user-wide locations for configuration and build results #12

Closed mrquincle closed 9 years ago

mrquincle commented 9 years ago

Allow the user to specify the configuration for bluenet in a general place.

For example $HOME/.ble/config for general configuration options. This can then be subsequently reused for the bootloader code or, if necessary, for the python DFU upload scripts.

And for example $HOME/.ble/binaries for the generated binaries. Also this would allow easy incorporation of e.g. the bootloader generated from another project into another one without copying it around.

mrquincle commented 9 years ago

This is implemented using the BLUENET_DIR environmental variable nowadays.