From 8b65cf403229f3839c791ae1b7f8d2bbc266772b Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Wed, 10 Apr 2019 00:49:58 +0300 Subject: 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 --- meson_options.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meson_options.txt') 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') -- cgit v1.2.3