add OTA_TRIGGER_MAC to config
This commit is contained in:
parent
1e53a25d03
commit
2ec6966496
9
build.py
9
build.py
@ -90,10 +90,11 @@ env.Replace(BINTRAY_API_TOKEN=apitoken)
|
|||||||
|
|
||||||
# get runtime credentials and put them to compiler directive
|
# get runtime credentials and put them to compiler directive
|
||||||
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'-DBINTRAY_USER=\\"' + mykeys["BINTRAY_USER"] + '\\"',
|
u'-DOTA_TRIGGER_MAC=\\"' + mykeys["OTA_TRIGGER_MAC"] + '\\"',
|
||||||
u'-DBINTRAY_REPO=\\"' + mykeys["BINTRAY_REPO"] + '\\"',
|
u'-DBINTRAY_USER=\\"' + mykeys["BINTRAY_USER"] + '\\"',
|
||||||
|
u'-DBINTRAY_REPO=\\"' + mykeys["BINTRAY_REPO"] + '\\"',
|
||||||
u'-DBINTRAY_PACKAGE=\\"' + package + '\\"',
|
u'-DBINTRAY_PACKAGE=\\"' + package + '\\"',
|
||||||
u'-DARDUINO_LMIC_PROJECT_CONFIG_H=' + lmicconfig,
|
u'-DARDUINO_LMIC_PROJECT_CONFIG_H=' + lmicconfig,
|
||||||
u'-I \"' + srcdir + '\"'
|
u'-I \"' + srcdir + '\"'
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user