Keep TCXO warm during owned dual-profile retunes, batch modulation setup, and enable guarded fast RX with buffered 8 MHz SPI on XIAO S3 WIO and Indicator LoRa. Preserve lifecycle invalidation, packet guards, rollback, and existing scheduling budgets. Add reliable sequence-scoped USB lab transport, native regression coverage, bounded channel and preamble diagnostics, and byte-exact measurement records including failed experiments and qualification limits.
73 lines
2.0 KiB
INI
73 lines
2.0 KiB
INI
; RAM-only production-wrapper timing experiment. Enable from platformio.local.ini:
|
|
; [platformio]
|
|
; extra_configs = variants/*/platformio.ini
|
|
; tools/hil/profile_switch.ini
|
|
[env:profile_switch_xiao]
|
|
extends = arduino_base
|
|
platform = platformio/espressif32@6.11.0
|
|
board = seeed_xiao_esp32s3
|
|
; Native USB ignores UART baud; avoid the legacy uploader's baud-change step.
|
|
upload_speed = 115200
|
|
lib_deps =
|
|
SPI
|
|
Wire
|
|
https://github.com/jgromes/RadioLib.git#187ef24791c3d844939b2be13a68bd890bd04e4c
|
|
rweather/Crypto @ ^0.4.0
|
|
build_flags =
|
|
${arduino_base.build_flags}
|
|
-D ESP32_PLATFORM
|
|
-D ARDUINO_USB_MODE=1
|
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
|
-D USE_SX1262
|
|
-D P_LORA_DIO_1=39
|
|
-D P_LORA_NSS=41
|
|
-D P_LORA_RESET=42
|
|
-D P_LORA_BUSY=40
|
|
-D P_LORA_SCLK=7
|
|
-D P_LORA_MISO=8
|
|
-D P_LORA_MOSI=9
|
|
-D SX126X_RXEN=38
|
|
-D SX126X_TXEN=RADIOLIB_NC
|
|
-D SX126X_DIO2_AS_RF_SWITCH=true
|
|
-D SX126X_DIO3_TCXO_VOLTAGE=1.8
|
|
-D SX126X_CURRENT_LIMIT=140
|
|
-D SX126X_RX_BOOSTED_GAIN=1
|
|
-D LORA_TX_POWER=0
|
|
build_src_filter =
|
|
+<helpers/radiolib/RadioLibWrappers.cpp>
|
|
+<helpers/UsbLogging.cpp>
|
|
+<../tools/hil/profile_switch.cpp>
|
|
|
|
[env:profile_switch_indicator]
|
|
extends = arduino_base
|
|
platform = platformio/espressif32@6.11.0
|
|
board = esp32-s3-devkitc-1
|
|
board_upload.flash_size = 8MB
|
|
lib_deps =
|
|
${env:profile_switch_xiao.lib_deps}
|
|
lovyan03/LovyanGFX @ ^1.2.7
|
|
build_flags =
|
|
${arduino_base.build_flags}
|
|
-D ESP32_PLATFORM
|
|
-D HIL_INDICATOR
|
|
-D SENSECAP_INDICATOR_LORA
|
|
-I variants/sensecap_indicator-espnow
|
|
-D PIN_BOARD_SDA=39
|
|
-D PIN_BOARD_SCL=40
|
|
-D USE_SX1262
|
|
-D P_LORA_SCLK=41
|
|
-D P_LORA_MISO=47
|
|
-D P_LORA_MOSI=48
|
|
-D P_LORA_NSS=64
|
|
-D P_LORA_RESET=65
|
|
-D P_LORA_BUSY=66
|
|
-D P_LORA_DIO_1=67
|
|
-D SX126X_DIO2_AS_RF_SWITCH=true
|
|
-D SX126X_DIO3_TCXO_VOLTAGE=2.4
|
|
-D SX126X_CURRENT_LIMIT=140
|
|
-D SX126X_RX_BOOSTED_GAIN=1
|
|
-D LORA_TX_POWER=0
|
|
build_src_filter =
|
|
${env:profile_switch_xiao.build_src_filter}
|
|
+<../variants/sensecap_indicator-espnow/IndicatorRadioHal.cpp>
|