add OTA_TRIGGER_MAC to config

This commit is contained in:
Marius Gripp 2019-09-02 15:11:01 +02:00
parent 1e53a25d03
commit 2ec6966496
2 changed files with 6 additions and 4 deletions

View File

@ -92,6 +92,7 @@ env.Replace(BINTRAY_API_TOKEN=apitoken)
env.Append(BUILD_FLAGS=[ env.Append(BUILD_FLAGS=[
u'-DWIFI_SSID=\\"' + mykeys["OTA_WIFI_SSID"] + '\\"', u'-DWIFI_SSID=\\"' + mykeys["OTA_WIFI_SSID"] + '\\"',
u'-DWIFI_PASS=\\"' + mykeys["OTA_WIFI_PASS"] + '\\"', u'-DWIFI_PASS=\\"' + mykeys["OTA_WIFI_PASS"] + '\\"',
u'-DOTA_TRIGGER_MAC=\\"' + mykeys["OTA_TRIGGER_MAC"] + '\\"',
u'-DBINTRAY_USER=\\"' + mykeys["BINTRAY_USER"] + '\\"', u'-DBINTRAY_USER=\\"' + mykeys["BINTRAY_USER"] + '\\"',
u'-DBINTRAY_REPO=\\"' + mykeys["BINTRAY_REPO"] + '\\"', u'-DBINTRAY_REPO=\\"' + mykeys["BINTRAY_REPO"] + '\\"',
u'-DBINTRAY_PACKAGE=\\"' + package + '\\"', u'-DBINTRAY_PACKAGE=\\"' + package + '\\"',

View File

@ -1,6 +1,7 @@
[ota] [ota]
OTA_WIFI_SSID = MyHomeWifi OTA_WIFI_SSID = MyHomeWifi
OTA_WIFI_PASS = FooBar42! OTA_WIFI_PASS = FooBar42!
OTA_TRIGGER_MAC = FFFFFFFF
[bintray] [bintray]
BINTRAY_USER = MyBintrayUser BINTRAY_USER = MyBintrayUser