This repository has been archived on 2026-08-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
donglora/examples/justfile
T
swaitsandClaude Opus 4.6 405f4f2f13 chore: tooling improvements
- Add cargo-binutils to mise.toml (needed for `just size`)
- Remove jj from mise.toml (optional, not a build dependency)
- Silence `mise install` output when tools are current (--quiet)
- Add `just outdated` recipe with embassy-executor exclusion
  (esp-rtos 0.2 pins embassy-executor ^0.9; 0.10 renamed arch-*
  features to platform-*, which crashes cargo-outdated)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 11:57:44 -06:00

30 lines
988 B
Makefile

set shell := ["bash", "-c"]
# Receive LoRa packets (Ctrl-C to stop)
rx *args:
@mise install --quiet && uv run {{source_directory()}}/simple_rx.py {{args}}
# Transmit a single packet
tx *args:
@mise install --quiet && uv run {{source_directory()}}/simple_tx.py {{args}}
# Two-dongle ping-pong demo (--role tx|rx)
ping-pong *args:
@mise install --quiet && uv run {{source_directory()}}/ping_pong.py {{args}}
# Exercise all DongLoRa commands
test-commands *args:
@mise install --quiet && uv run {{source_directory()}}/all_commands.py {{args}}
# Two-way LoRa bridge over TCP
bridge *args:
@mise install --quiet && uv run {{source_directory()}}/lora_bridge.py {{args}}
# MeshCore packet decoder/monitor
meshcore *args:
@mise install --quiet && uv run {{source_directory()}}/meshcore/meshcore_rx.py {{args}}
# Run any example by name (e.g. just ex run simple_rx)
run script *args:
@mise install --quiet && uv run {{source_directory()}}/{{script}}.py {{args}}