Initial public release of WII5 Buoy firmware
Firmware for an autonomous wave-measurement buoy (ATmega2560-based WII5 v2 board). Reads wave motion from a Sparton AHRS-M1/M2 IMU, samples GPS and battery state, and reports back over Iridium SBD satellite telemetry. Originally developed 2012-2024. This is the first public release. Code, documentation, and field-tested operating modes (Capture, Sleep, Position, ManualTest, SelfTest, LowBattery) are licensed under Apache 2.0 — see LICENSE and NOTICE. See README.md for an overview and build instructions, CONTRIBUTING.md for how to contribute, and DEPLOYMENTS.md for the field-deployment log.
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (c) 2012-2024 Scott Penrose <scottp@dd.com.au> and WII5 Buoy contributors
|
||||
#
|
||||
# This file is part of WII5 Buoy firmware.
|
||||
# See LICENSE for full terms.
|
||||
|
||||
# Upload built firmware to a remote build host.
|
||||
# Set these env vars (or copy this file to upload.local.sh and edit):
|
||||
: "${WII5_BUILD_DIR:?set to your Arduino build dir, e.g. ~/Documents/Arduino/Build}"
|
||||
: "${WII5_AVRDUDE_CONF:?path to avrdude.conf}"
|
||||
: "${WII5_REMOTE:?e.g. user@host}"
|
||||
: "${WII5_REMOTE_PORT:=22}"
|
||||
|
||||
rsync -av -e "ssh -p $WII5_REMOTE_PORT" \
|
||||
"$WII5_AVRDUDE_CONF" "$WII5_BUILD_DIR"/*.hex \
|
||||
"$WII5_REMOTE:~/firmware/"
|
||||
Reference in New Issue
Block a user