mirror of
https://github.com/pelgraine/Meck.git
synced 2026-05-16 14:25:51 +02:00
cpu fix for heltec v4 remote repeater build headless
This commit is contained in:
@@ -165,15 +165,19 @@ extends = heltec_v4_oled
|
||||
build_flags =
|
||||
${heltec_v4_oled.build_flags}
|
||||
-I examples/companion_radio/ui-new
|
||||
-D MAX_CONTACTS=350
|
||||
-D MAX_CONTACTS=2000
|
||||
-D MAX_GROUP_CHANNELS=40
|
||||
-D DISPLAY_CLASS=SSD1306Display
|
||||
-D BLE_PIN_CODE=123456 ; dynamic, random PIN
|
||||
-D AUTO_SHUTDOWN_MILLIVOLTS=3400
|
||||
-D BLE_DEBUG_LOGGING=1
|
||||
-D OFFLINE_QUEUE_SIZE=256
|
||||
-D BOARD_HAS_PSRAM=1
|
||||
; -D MESH_PACKET_LOGGING=1
|
||||
; -D MESH_DEBUG=1
|
||||
-D GPS_BAUDRATE=38400
|
||||
-D GPS_EN_ACTIVE=PIN_GPS_EN_ACTIVE
|
||||
-D SDCARD_CS=-1
|
||||
build_src_filter = ${heltec_v4_oled.build_src_filter}
|
||||
+<helpers/ui/SSD1306Display.cpp>
|
||||
+<helpers/ui/MomentaryButton.cpp>
|
||||
@@ -184,17 +188,47 @@ lib_deps =
|
||||
${heltec_v4_oled.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
|
||||
; ---------------------------------------------------------------------------
|
||||
; Heltec V4 BLE Companion — HEADLESS (no display)
|
||||
; Pure BLE-to-phone bridge, no OLED. Ideal for V4 boards without screens.
|
||||
; ---------------------------------------------------------------------------
|
||||
[env:heltec_v4_companion_radio_ble_headless]
|
||||
extends = Heltec_lora32_v4
|
||||
build_flags =
|
||||
${Heltec_lora32_v4.build_flags}
|
||||
-I examples/companion_radio/ui-new
|
||||
-D MAX_CONTACTS=2000
|
||||
-D MAX_GROUP_CHANNELS=40
|
||||
-D BLE_PIN_CODE=123456
|
||||
-D AUTO_SHUTDOWN_MILLIVOLTS=3400
|
||||
-D BLE_DEBUG_LOGGING=1
|
||||
-D OFFLINE_QUEUE_SIZE=256
|
||||
-D BOARD_HAS_PSRAM=1
|
||||
-D GPS_BAUDRATE=38400
|
||||
-D GPS_EN_ACTIVE=PIN_GPS_EN_ACTIVE
|
||||
-D SDCARD_CS=-1
|
||||
; -D MESH_PACKET_LOGGING=1
|
||||
; -D MESH_DEBUG=1
|
||||
build_src_filter = ${Heltec_lora32_v4.build_src_filter}
|
||||
+<helpers/esp32/*.cpp>
|
||||
+<../examples/companion_radio/*.cpp>
|
||||
+<../examples/companion_radio/ui-new/*.cpp>
|
||||
lib_deps =
|
||||
${Heltec_lora32_v4.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
|
||||
[env:heltec_v4_companion_radio_wifi]
|
||||
extends = heltec_v4_oled
|
||||
build_flags =
|
||||
${heltec_v4_oled.build_flags}
|
||||
-I examples/companion_radio/ui-new
|
||||
-D MAX_CONTACTS=350
|
||||
-D MAX_CONTACTS=2000
|
||||
-D MAX_GROUP_CHANNELS=40
|
||||
-D DISPLAY_CLASS=SSD1306Display
|
||||
-D WIFI_DEBUG_LOGGING=1
|
||||
-D WIFI_SSID='"myssid"'
|
||||
-D WIFI_PWD='"mypwd"'
|
||||
-D BOARD_HAS_PSRAM=1
|
||||
; -D MESH_PACKET_LOGGING=1
|
||||
; -D MESH_DEBUG=1
|
||||
build_src_filter = ${heltec_v4_oled.build_src_filter}
|
||||
@@ -218,6 +252,7 @@ lib_deps =
|
||||
; ---------------------------------------------------------------------------
|
||||
[env:meck_wifi_repeater_heltec_v4]
|
||||
extends = heltec_v4_oled
|
||||
upload_port = /dev/cu.usbmodem101
|
||||
build_src_filter = ${heltec_v4_oled.build_src_filter}
|
||||
+<helpers/esp32/*.cpp>
|
||||
-<helpers/esp32/SerialBLEInterface.cpp>
|
||||
@@ -279,12 +314,14 @@ board_build.filesystem = spiffs
|
||||
; ---------------------------------------------------------------------------
|
||||
[env:meck_wifi_repeater_heltec_v4_headless]
|
||||
extends = Heltec_lora32_v4
|
||||
upload_port = /dev/cu.usbmodem101
|
||||
build_src_filter = ${Heltec_lora32_v4.build_src_filter}
|
||||
+<helpers/esp32/*.cpp>
|
||||
-<helpers/esp32/SerialBLEInterface.cpp>
|
||||
+<../examples/simple_repeater/*.cpp>
|
||||
build_flags =
|
||||
${Heltec_lora32_v4.build_flags}
|
||||
-D ESP32_CPU_FREQ=240
|
||||
-D FIRMWARE_VERSION='"Meck HV4 WiFi Rptr v0.1"'
|
||||
-D FIRMWARE_BUILD_DATE='"5 Apr 2026"'
|
||||
-D ADVERT_NAME='"Heltec Repeater"'
|
||||
|
||||
Reference in New Issue
Block a user