295abb37ee
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.
75 lines
1.3 KiB
Bash
Executable File
75 lines
1.3 KiB
Bash
Executable File
#!/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.
|
|
|
|
# Copy the Arduino libraries this project depends on into a target directory
|
|
# (typically your project's src/ tree, or an arduino-cli libraries dir).
|
|
#
|
|
# Configure with env vars:
|
|
: "${WII5_LIB_SRC:?source dir holding all the Arduino library trees, e.g. ~/Arduino/libraries}"
|
|
: "${WII5_LIB_DEST:?destination dir, e.g. ./src or ~/Arduino/libraries}"
|
|
|
|
cd "$WII5_LIB_SRC"
|
|
|
|
rsync -av \
|
|
ADS1247 \
|
|
AltSoftSerial \
|
|
Arduino-EEPROMex \
|
|
ArduinoUniqueID \
|
|
Arduino_JSON \
|
|
ButtonEvent \
|
|
CRC32 \
|
|
CalLib \
|
|
DCF77 \
|
|
DS1307RTC \
|
|
DS3231 \
|
|
DS3231RTC \
|
|
DS3232RTC \
|
|
DallasTemperature \
|
|
DueFlash \
|
|
Enerlib \
|
|
FTRGBLED \
|
|
Filters \
|
|
I2C \
|
|
I2Cdev \
|
|
IridiumSBD \
|
|
LowPower \
|
|
Manchester \
|
|
MemoryFree \
|
|
OneWire \
|
|
PCM \
|
|
PushButton \
|
|
RFM69 \
|
|
RTArduLink \
|
|
RTC \
|
|
RTCTimedEvent \
|
|
RTClib \
|
|
RTIMULib \
|
|
RunningMedian \
|
|
SDBlock \
|
|
SDCore \
|
|
SFE_BMP180 \
|
|
SPIFlash \
|
|
SdFat \
|
|
Sensirion \
|
|
SoftReset \
|
|
Statistic \
|
|
TemperatureController \
|
|
Time \
|
|
TimeAlarms \
|
|
TimedEvent \
|
|
TimerOne \
|
|
TinyGPS \
|
|
TinyGPSPlus \
|
|
TrueRandom-master \
|
|
Ultrasonic \
|
|
XModem \
|
|
elapsedMillis \
|
|
keypad \
|
|
RadioHead \
|
|
SdFs \
|
|
"$WII5_LIB_DEST/"
|