Files
HaloKeymind/tools/hil/profile_fixed_tx.ini
T
mikecarper 091c8d8324 Preserve radio lab experiments and reuse unchanged SX1262 modulation
Skip redundant modulation writes during owned fast RX retunes when the last
acknowledged SF/BW/CR/LDRO tuple matches. Invalidate that cache after ordinary
setters, failed writes, and lifecycle changes.

Include the remaining scan, preamble, settling, and memory-soak experiments,
their collectors, validation notes, and original capture records. Preserve
capture bytes across checkouts and keep private soak credentials local.

Run lab collector and compiled contract tests in CI. Update the expectation,
profile mapping, and result-buffer tests for the extended lab tools, and make
the private WiFi override header optional for ordinary soak diagnostics.

Validation: 145 host tests passed from the staged source snapshot. Clean
heltec_v4_repeater and Xiao_S3_WIO_companion_radio_usb builds passed their
RAM/flash gates. All 229 staged capture files retain their original bytes;
all 75 local documentation links resolve in the clean snapshot.
2026-09-14 22:34:17 -07:00

84 lines
2.3 KiB
INI

; Explicit application-only HIL images. Never update the SoftDevice/bootloader.
[fixed_tx_base]
extends = arduino_base
platform = nordicnrf52
platform_packages = ${nrf52_base.platform_packages}
board_build.ldscript = boards/nrf52840_s140_v6.ld
board_build.variants_dir = tools/hil
upload_protocol = nrfutil
extra_scripts =
create-uf2.py
pre:scripts/nrf52_usb_power_fix.py
lib_deps = ${env:profile_switch_xiao.lib_deps}
lib_ignore = PsychicMqttClient
build_flags =
${arduino_base.build_flags}
-D NRF52_PLATFORM
-I lib/nrf52/s140_nrf52_6.1.1_API/include
-I lib/nrf52/s140_nrf52_6.1.1_API/include/nrf52
build_src_filter = +<../tools/hil/profile_fixed_tx.cpp>
[env:profile_fixed_rak_tx]
extends = fixed_tx_base
board = rak4631
board_build.variant = fixed_rak_variant
build_flags = ${fixed_tx_base.build_flags}
-D HIL_FIXED_RAK
-D HIL_FIXED_BOARD='"RAK4631"'
-D P_LORA_DIO_1=47
-D P_LORA_NSS=42
-D P_LORA_RESET=38
-D P_LORA_BUSY=46
-D P_LORA_SCLK=43
-D P_LORA_MISO=45
-D P_LORA_MOSI=44
[env:profile_fixed_t096_tx]
extends = fixed_tx_base
board = heltec_t096
board_build.variant = fixed_t096_variant
build_flags = ${fixed_tx_base.build_flags}
-D HIL_FIXED_T096
-D HIL_FIXED_BOARD='"Heltec T096"'
-D P_LORA_DIO_1=21
-D P_LORA_NSS=5
-D P_LORA_RESET=16
-D P_LORA_BUSY=19
-D P_LORA_SCLK=40
-D P_LORA_MISO=14
-D P_LORA_MOSI=11
[env:profile_fixed_tower_tx]
extends = fixed_tx_base
board = heltec_tower_v2
board_build.variant = fixed_tower_variant
build_flags = ${fixed_tx_base.build_flags}
-D HIL_FIXED_TOWER
-D HIL_FIXED_BOARD='"Heltec MeshTower V2"'
[env:profile_fixed_t1000_tx]
extends = fixed_tx_base
board = tracker-t1000-e
board_build.variant = fixed_t1000_variant
board_build.ldscript = boards/nrf52840_s140_v7_extrafs.ld
board_upload.maximum_size = 708608
build_flags = ${arduino_base.build_flags}
-D NRF52_PLATFORM
-I lib/nrf52/s140_nrf52_7.3.0_API/include
-I lib/nrf52/s140_nrf52_7.3.0_API/include/nrf52
-D HIL_FIXED_LR1110
-D HIL_FIXED_BOARD='"Seeed T1000-E LR1110"'
-D P_LORA_DIO_1=33
-D P_LORA_NSS=12
-D P_LORA_RESET=42
-D P_LORA_BUSY=7
-D P_LORA_SCLK=11
-D P_LORA_MISO=40
-D P_LORA_MOSI=41
[env:profile_four_tx_v4_rx]
extends = env:profile_switch_heltec_v4
build_unflags = -DSX126X_RX_BOOSTED_GAIN=1
build_flags = ${env:profile_switch_heltec_v4.build_flags}
-D SX126X_RX_BOOSTED_GAIN=0