Files
HaloKeymind/tools/hil/profile_fixed_tx.ini
T

85 lines
2.4 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
post:scripts/check_firmware_ram.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