summaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorGravatar Gediminas Jakutis <gediminas@varciai.lt> 2019-04-10 00:49:58 +0300
committerGravatar Gediminas Jakutis <gediminas@varciai.lt> 2019-04-10 00:49:58 +0300
commit8b65cf403229f3839c791ae1b7f8d2bbc266772b (patch)
treefcfa6555c188c2c6744c2d63ef41801786c4c988 /meson_options.txt
parent66dea0ba9ac413819059606c748cb5446ccbb5d1 (diff)
downloadusurpation-8b65cf403229f3839c791ae1b7f8d2bbc266772b.tar.gz
usurpation-8b65cf403229f3839c791ae1b7f8d2bbc266772b.tar.bz2
usurpation-8b65cf403229f3839c791ae1b7f8d2bbc266772b.zip
device: make ssid and password easy to modify
The SSID and PSK the device is going to attempt connecting can now be changed with a recompiliation by adjusting the "ssid" and "password" build options for meson with e.g. meson configure -Dssid=realssid -Dpassword=actualpsk Default SSID and PSK are included to otherwise allow test builds. this closes ticket 26. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 446dc5c..7cc6df4 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,3 +1,5 @@
option('tests', type : 'boolean', value : false, description : 'Enable building and running tests')
option('fwbuild', type : 'boolean', value : false, description : 'Enable building the firmware image for the wearable')
option('fwflash', type : 'boolean', value : false, description : 'Automatically flash the firmware with freshly built fw image (requires fwbuild)')
+option('ssid', type : 'string', value : 'ssid', description : 'wireless ssid to compile into the firmware (no effect without fwbuild')
+option('password', type : 'string', value : 'password', description : 'wireless password to compile into the firmware (no effect without fwbuild')