Masts run the public observer image: one env SenseCap_Solar_repeater
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ee935a9fc7
commit
9080d8339d
3 files changed
+91
-79
No files matched your search
@@ -0,0 +1,25 @@
|
||||
# shellcheck shell=bash
|
||||
# Build flags of the public firmware, sourced by pub-release.yml -- and by the
|
||||
# private mast release, which builds the very same observer image, so what the
|
||||
# fork publishes is what runs on its own nodes. PlatformIO appends
|
||||
# PLATFORMIO_BUILD_FLAGS after each env's flags: last -D wins.
|
||||
#
|
||||
# 869.432/62.5/SF7/CR5; repeater + room server: zero-hop advert off, flood
|
||||
# advert 25 h, af 9 (= 10 % duty cycle); repeater: regions cz,cs next to *.
|
||||
# Path hash 2 B is this fork's default anyway. TX power stays the board's.
|
||||
# FILTER_CHANNEL_PSKS = [channel_filter] in platformio.ini (#meshcore, Public,
|
||||
# #test -- public keys): compiles the repeater's `filter` (deny-forward by
|
||||
# sender name); inert until an operator adds a name.
|
||||
PUB_FLAGS='-D LORA_FREQ=869.432 -D LORA_BW=62.5 -D LORA_SF=7 -D LORA_CR=5
|
||||
-D ADVERT_INTERVAL_DEFAULT=0 -D FLOOD_ADVERT_INTERVAL_DEFAULT=25
|
||||
-D AIRTIME_FACTOR_DEFAULT=9.0 -D DEFAULT_REGIONS=\"cz,cs\"
|
||||
-D FILTER_CHANNEL_PSKS=\"2fa78a5aef618e7c2a78f0ab5c8869b3,8b3387e9c5cdea6ac9e5edbaa115cd72,9cd8fcf22a47333b591d96a2b848b73f\"'
|
||||
# Observer variants of the nRF52 repeaters: BLE console (starts OFF,
|
||||
# RPT_BLE_DEFAULT_OFF -- placeholder PIN), `rxlog`/`nodes` and the `pktlog`
|
||||
# raw-frame ring that the repeater observer reads over BLE or USB.
|
||||
OBS_FLAGS='-D BLE_PIN_CODE=123456 -D RPT_BLE_DEFAULT_OFF=1
|
||||
-D MAX_HEARD_NODES=128 -D RXLOG_SIZE=512 -D PKTFEED_SIZE=64'
|
||||
# one line each, as the YAML folded scalars they replace were
|
||||
PUB_FLAGS=${PUB_FLAGS//$'\n'/ }
|
||||
OBS_FLAGS=${OBS_FLAGS//$'\n'/ }
|
||||
export PUB_FLAGS OBS_FLAGS
|
||||
@@ -38,24 +38,8 @@ concurrency:
|
||||
env:
|
||||
GITEA: https://git.rfa.cz
|
||||
KEEP: 5
|
||||
# 869.432/62.5/SF7/CR5; repeater + room server: zero-hop advert off, flood
|
||||
# advert 25 h, af 9 (= 10 % duty cycle); repeater: regions cz,cs next to *.
|
||||
# Path hash 2 B is this fork's default anyway. TX power stays the board's.
|
||||
# FILTER_CHANNEL_PSKS = [channel_filter] in platformio.ini (#meshcore, Public,
|
||||
# #test -- public keys): compiles the repeater's `filter` (deny-forward by
|
||||
# sender name); inert until an operator adds a name.
|
||||
PUB_FLAGS: >-
|
||||
-D LORA_FREQ=869.432 -D LORA_BW=62.5 -D LORA_SF=7 -D LORA_CR=5
|
||||
-D ADVERT_INTERVAL_DEFAULT=0 -D FLOOD_ADVERT_INTERVAL_DEFAULT=25
|
||||
-D AIRTIME_FACTOR_DEFAULT=9.0 -D DEFAULT_REGIONS=\"cz,cs\"
|
||||
-D FILTER_CHANNEL_PSKS=\"2fa78a5aef618e7c2a78f0ab5c8869b3,8b3387e9c5cdea6ac9e5edbaa115cd72,9cd8fcf22a47333b591d96a2b848b73f\"
|
||||
# Observer variants of the nRF52 repeaters: BLE console (starts OFF,
|
||||
# RPT_BLE_DEFAULT_OFF -- placeholder PIN), `rxlog`/`nodes` and the `pktlog`
|
||||
# raw-frame ring that the repeater observer reads over BLE or USB.
|
||||
# RAM 37-39 %, flash 41-58 % on these boards.
|
||||
OBS_FLAGS: >-
|
||||
-D BLE_PIN_CODE=123456 -D RPT_BLE_DEFAULT_OFF=1
|
||||
-D MAX_HEARD_NODES=128 -D RXLOG_SIZE=512 -D PKTFEED_SIZE=64
|
||||
# PUB_FLAGS / OBS_FLAGS: .github/fw-flags.sh (shared with the private mast
|
||||
# release, which builds the same observer image). RAM 37-39 %, flash 41-58 %.
|
||||
OBS_ENVS: >-
|
||||
Xiao_nrf52_repeater SenseCap_Solar_repeater RAK_4631_repeater t1000e_repeater Heltec_t114_repeater
|
||||
ENVS: >-
|
||||
@@ -113,6 +97,7 @@ jobs:
|
||||
id: build
|
||||
run: |
|
||||
set -euo pipefail
|
||||
source .github/fw-flags.sh
|
||||
sha=$(git rev-parse --short=8 HEAD)
|
||||
dist="$GITHUB_WORKSPACE/dist"
|
||||
mkdir -p "$dist"
|
||||
|
||||
Reference in new issue
Block a user