From 545c15b3f2a72325a102b27d902e3fb3e61ef00d Mon Sep 17 00:00:00 2001 From: UA1ZBE Date: Mon, 1 Jun 2026 16:31:29 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BF=D1=80=D0=BE=D1=88=D0=B8=D0=B2=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20Heltec=20V4=20(Simple=20Sensor)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformio.local.ini | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 platformio.local.ini diff --git a/platformio.local.ini b/platformio.local.ini new file mode 100644 index 0000000..842b173 --- /dev/null +++ b/platformio.local.ini @@ -0,0 +1,32 @@ +[env:Heltec_t114_without_display_simple_sensor] +extends = Heltec_t114 +build_src_filter = ${Heltec_t114.build_src_filter} + +<../examples/simple_sensor> +build_flags = + ${Heltec_t114.build_flags} + -D ADVERT_NAME='"Heltec_T114 Simple Sensor"' + -D ADVERT_LAT=0.0 + -D ADVERT_LON=0.0 + -D ADMIN_PASSWORD='"password"' + -D SENSOR_READ_INTERVAL_SECS=60 + -D LORA_FREQ=868.856018 + -D LORA_SF=7 + -D LORA_CR=7 + +[env:heltec_v4_simple_sensor] +extends = Heltec_lora32_v4 +build_src_filter = ${Heltec_lora32_v4.build_src_filter} + +<../examples/simple_sensor> +build_flags = + ${Heltec_lora32_v4.build_flags} + -D ADVERT_NAME='"Heltec_V4 Simple Sensor"' + -D ADVERT_LAT=0.0 + -D ADVERT_LON=0.0 + -D ADMIN_PASSWORD='"password"' + -D SENSOR_READ_INTERVAL_SECS=60 + -D LORA_FREQ=868.856018 + -D LORA_SF=7 + -D LORA_CR=7 +lib_deps = + ${Heltec_lora32_v4.lib_deps} + ${esp32_ota.lib_deps}