mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-09-14 15:16:40 +00:00
Solo's `_solo_dual` env for each board lived inside variants/<board>/, mixed in with the shared upstream board configs (repeater, room server, plain companion) that every MeshCore fork carries. Split them out into their own top-level solo/<board>/ folder -- each still `extends` the board base defined in its original variants/<board>/platformio.ini, just no longer interleaved with it file-wise. - platformio.ini: extra_configs picks up solo/*/platformio.ini alongside variants/*/platformio.ini. - build-solo-firmwares.yml: env-discovery grep now scans solo/ instead of variants/ (the release matrix is unchanged -- same 8 envs, same names). - pr-build-check.yml: solo/** added to the trigger paths. - GAT562 30S Mesh Kit: dropped the separate solo_ble env -- solo_dual is a strict superset (BLE still works, plus USB), and every other board only ever had one solo build to begin with. - GAT562 Mesh Watch13: renamed solo_ble -> solo_dual (added DUAL_SERIAL=1) to match. No comment anywhere recorded whether this board's USB data lines are actually broken out to a connector -- DUAL_SERIAL compiles and works over BLE regardless, so worst case the USB half goes unused. - Removed a dead AUTO_SHUTDOWN_MILLIVOLTS from the three solo envs that set it (Heltec V3/V4, T-Echo Lite+KeyShield): that macro is only ever read in the old ui-tiny UITask, never ui-new, which every solo build (these included) uses -- it did nothing on any of them. Left alone everywhere else it's set (non-solo companion envs elsewhere use ui-tiny/ui-orig, or the flag is legitimately read); out of scope here. - Added docs/solo_features/build_flags.md: every optional -D flag a solo build understands (GPIO, CardKB/joystick, Hall-sensor cover lock, buzzer/ vibration, GPS switch, display/battery tuning), verified against the code rather than the existing per-board comments, with what's already baked into every solo build kept separate from what's opt-in. - README: doc index + Building from source section link to the new page; path references to the moved solo files updated to solo/<board>/. All 8 solo_dual envs rebuilt clean after the move; native test suite (40 cases) unaffected. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
64 lines
1.5 KiB
YAML
64 lines
1.5 KiB
YAML
name: PR Build Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main, dev]
|
|
paths:
|
|
- 'src/**'
|
|
- 'examples/**'
|
|
- 'variants/**'
|
|
- 'solo/**'
|
|
- 'platformio.ini'
|
|
- '.github/workflows/pr-build-check.yml'
|
|
push:
|
|
branches: [main, dev]
|
|
paths:
|
|
- 'src/**'
|
|
- 'examples/**'
|
|
- 'variants/**'
|
|
- 'solo/**'
|
|
- 'platformio.ini'
|
|
- '.github/workflows/pr-build-check.yml'
|
|
|
|
env:
|
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
environment:
|
|
# ESP32-S3 (most common platform)
|
|
- Heltec_v3_companion_radio_ble
|
|
- Heltec_v3_repeater
|
|
- Heltec_v3_room_server
|
|
# nRF52
|
|
- RAK_4631_companion_radio_ble
|
|
- RAK_4631_companion_radio_ethernet
|
|
- RAK_4631_repeater
|
|
- RAK_4631_repeater_ethernet
|
|
- RAK_4631_room_server
|
|
- RAK_4631_room_server_ethernet
|
|
# RP2040
|
|
- PicoW_repeater
|
|
# STM32
|
|
- wio-e5-mini_repeater
|
|
# ESP32-C6
|
|
- LilyGo_Tlora_C6_repeater_
|
|
# LR1110 (nRF52)
|
|
- wio_wm1110_repeater
|
|
# SX1276 (ESP32)
|
|
- Tbeam_SX1276_repeater
|
|
|
|
steps:
|
|
- name: Clone Repo
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup Build Environment
|
|
uses: ./.github/actions/setup-build-environment
|
|
|
|
- name: Build ${{ matrix.environment }}
|
|
run: pio run -e ${{ matrix.environment }}
|