From 8b56ea437815b709c6ef2a027557aa5bde3ae95b Mon Sep 17 00:00:00 2001 From: Andrey Klimov Date: Sun, 24 Mar 2019 01:46:10 +0300 Subject: [PATCH] MAC address setup refactored (for ESPx and DUE - embedded addresses by default) --- custom-build-flags/build_flags_template.sh | 2 +- lighthub/main.cpp | 50 ++++++++++++---------- 2 files changed, 29 insertions(+), 23 deletions(-) diff --git a/custom-build-flags/build_flags_template.sh b/custom-build-flags/build_flags_template.sh index 0bb00a6..56684d2 100755 --- a/custom-build-flags/build_flags_template.sh +++ b/custom-build-flags/build_flags_template.sh @@ -10,7 +10,7 @@ # export FLAGS="$FLAGS -DSERIAL_BAUD=115200" # export FLAGS="$FLAGS -DWiz5500" # export FLAGS="$FLAGS -DDISABLE_FREERAM_PRINT" - export FLAGS="$FLAGS -DCUSTOM_FIRMWARE_MAC=de:ad:be:ef:fe:ff" +# export FLAGS="$FLAGS -DCUSTOM_FIRMWARE_MAC=de:ad:be:ef:fe:ff" # export FLAGS="$FLAGS -DDMX_DISABLE" # export FLAGS="$FLAGS -DMODBUS_DISABLE" # export FLAGS="$FLAGS -DOWIRE_DISABLE" diff --git a/lighthub/main.cpp b/lighthub/main.cpp index 609c0bf..f55cfe1 100644 --- a/lighthub/main.cpp +++ b/lighthub/main.cpp @@ -1010,6 +1010,7 @@ void cmdFunctionIp(int arg_cnt, char **args) case 1: //dynamic IP saveFlash(OFFSET_IP,ip0); + debugSerial<