diff --git a/bin/build-all.sh b/bin/build-all.sh
index ee9fdac29..0645f05dd 100755
--- a/bin/build-all.sh
+++ b/bin/build-all.sh
@@ -34,8 +34,6 @@ function do_build() {
# The shell vars the build tool expects to find
export APP_VERSION=$VERSION
- # Are we building a universal/regionless rom?
- export HW_VERSION="1.0"
basename=universal/firmware-$BOARD-$VERSION
pio run --environment $BOARD # -v
diff --git a/bin/build-esp32.sh b/bin/build-esp32.sh
index e040ea2b5..375e02880 100755
--- a/bin/build-esp32.sh
+++ b/bin/build-esp32.sh
@@ -22,8 +22,6 @@ rm -f .pio/build/$1/firmware.*
# The shell vars the build tool expects to find
export APP_VERSION=$VERSION
-# Are we building a universal/regionless rom?
-export HW_VERSION="1.0"
basename=firmware-$1-$VERSION
pio run --environment $1 # -v
diff --git a/bin/build-nrf52.sh b/bin/build-nrf52.sh
index 243a44027..fafbd179b 100755
--- a/bin/build-nrf52.sh
+++ b/bin/build-nrf52.sh
@@ -22,7 +22,6 @@ rm -f .pio/build/$1/firmware.*
# The shell vars the build tool expects to find
export APP_VERSION=$VERSION
-export HW_VERSION="1.0"
basename=firmware-$1-$VERSION
pio run --environment $1 # -v
diff --git a/platformio.ini b/platformio.ini
index ffc58d235..244c86cca 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -34,8 +34,6 @@ extra_scripts = bin/platformio-custom.py
build_flags = -Wno-missing-field-initializers
-Wno-format
-Isrc -Isrc/mesh -Isrc/gps -Isrc/buzz -Wl,-Map,.pio/build/output.map
- -DHW_VERSION_${sysenv.COUNTRY}
- -DHW_VERSION=${sysenv.HW_VERSION}
-DUSE_THREAD_NAMES
-DTINYGPS_OPTION_NO_CUSTOM_FIELDS
diff --git a/src/configuration.h b/src/configuration.h
index 3831e1455..0269daba3 100644
--- a/src/configuration.h
+++ b/src/configuration.h
@@ -34,9 +34,9 @@ along with this program. If not, see .
#error APP_VERSION must be set by the build environment
#endif
-// If app version is not specified we assume we are not being invoked by the build script
+// FIXME: This is still needed by the Bluetooth Stack and needs to be replaced by something better. Remnant of the old versioning system.
#ifndef HW_VERSION
-#error HW_VERSION, and HW_VERSION_countryname must be set by the build environment
+#define HW_VERSION "1.0"
#endif
// -----------------------------------------------------------------------------
@@ -242,4 +242,4 @@ along with this program. If not, see .
#include "variant.h"
#include "RF95Configuration.h"
-#include "DebugConfiguration.h"
\ No newline at end of file
+#include "DebugConfiguration.h"
diff --git a/src/main.cpp b/src/main.cpp
index ef824768b..ffa6b92aa 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -207,7 +207,7 @@ void setup()
#endif
// Hello
- DEBUG_MSG("Meshtastic hwvendor=%d, swver=%s, hwver=%s\n", HW_VENDOR, optstr(APP_VERSION), optstr(HW_VERSION));
+ DEBUG_MSG("Meshtastic hwvendor=%d, swver=%s\n", HW_VENDOR, optstr(APP_VERSION));
#ifndef NO_ESP32
// Don't init display if we don't have one or we are waking headless due to a timer event
diff --git a/variants/lora_isp4520/variant.h b/variants/lora_isp4520/variant.h
index 3f26ce3da..946a6cd3d 100644
--- a/variants/lora_isp4520/variant.h
+++ b/variants/lora_isp4520/variant.h
@@ -19,10 +19,6 @@
#ifndef _VARIANT_LORA_ISP4520_
#define _VARIANT_LORA_ISP4520_
-#define HW_VERSION_US 1
-#undef HW_VERSION
-#define HW_VERSION "1.0"
-
#define USE_SEGGER
/*----------------------------------------------------------------------------
* Headers