public builds: Czech mesh defaults (meshcore.cz wiki)
pub-release / release (push) Successful in 20m57s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-02 14:15:14 +01:00
1 parent f7887324e5
commit 88ef08c6d5
6 files changed
+80 -1

No files matched your search

+16 -1
View File
@@ -5,6 +5,10 @@
# password ("password") -- change both on the node after flashing. Nothing
# here carries a site's identity or real secrets.
#
# Defaults follow the Czech mesh (meshcore.cz wiki: nastaveni_site_meshcore_cz,
# instalace_repeateru, regiony), PUB_FLAGS below. They apply to a node with
# no saved settings (fresh, or after an erase); a reflash keeps what is set.
#
# Runs on every push to main -- the export pushes there only after an
# upstream merge (private repo, tth-upstream-sync) -- and by hand.
# Release tag tth-<sha8>, titled with the stamped version (v1.18.0-tth<sha>);
@@ -34,6 +38,13 @@ 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.
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\"
ENVS: >-
Xiao_nrf52_repeater Xiao_nrf52_companion_radio_ble Xiao_nrf52_room_server Xiao_nrf52_sensor
SenseCap_Solar_repeater SenseCap_Solar_companion_radio_ble
@@ -90,6 +101,8 @@ jobs:
run: |
set -euo pipefail
sha=$(git rev-parse --short=8 HEAD)
# PlatformIO appends these after each env's flags: last -D wins
export PLATFORMIO_BUILD_FLAGS="$PUB_FLAGS"
dist="$GITHUB_WORKSPACE/dist"
mkdir -p "$dist"
version=""
@@ -126,7 +139,9 @@ jobs:
set -euo pipefail
api="$GITEA/api/v1/repos/$GITHUB_REPOSITORY"
auth="header = \"Authorization: token $TOKEN\""
note='BLE PIN 123456 and admin password "password" are placeholders: change them after flashing.'
note='BLE PIN 123456 and admin password "password" are placeholders: change them after flashing.
Czech mesh defaults (meshcore.cz): 869.432 MHz / 62.5 kHz / SF7 / CR5; repeater: zero-hop advert off,
flood advert 25 h, af 9 (10 % duty cycle), regions cz + cs. Apply to a fresh or erased node only.'
body=$(printf '%s\n\ncommit %s, run %s\n\n%s\nWhat this fork changes against upstream: see README.md.\n' \
"$VERSION" "$SHA" "$GITHUB_RUN_NUMBER" "$note")
jq -n --arg t "$TAG" --arg c "$SHA" --arg n "$VERSION" --arg b "$body" \