From cff2e6ea704f35c466126044c8e5e57b5c0d8978 Mon Sep 17 00:00:00 2001 From: cam Date: Wed, 6 Mar 2024 23:22:48 +1300 Subject: [PATCH] Update firmware --- .travis.yml | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 067ae13..f0cc8f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ script: - if [ -n "$TRAVIS_TAG" ]; then sed -i "s/version = \"0.0.0-snapshot\"/version = \"${TRAVIS_TAG#v}\"/g" Cargo.toml; fi - cargo install cargo-deb - cargo build --release --target=armv7-unknown-linux-musleabihf - - wget -O _releases/tc2-firmware https://github.com/TheCacophonyProject/tc2-firmware/releases/download/v0.1.2/tc2-firmware + - wget -O _releases/tc2-firmware https://github.com/TheCacophonyProject/tc2-firmware/releases/download/v0.1.3/tc2-firmware - cargo deb --target=armv7-unknown-linux-musleabihf --output tc2-agent_${TRAVIS_TAG#v}_armhf.deb deploy: diff --git a/src/main.rs b/src/main.rs index 37d82cc..05693b3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -51,7 +51,7 @@ use rustbus::connection::Timeout; use rustbus::{get_system_bus_path, DuplexConn}; use simplelog::*; -const EXPECTED_RP2040_FIRMWARE_VERSION: u32 = 9; +const EXPECTED_RP2040_FIRMWARE_VERSION: u32 = 10; const EXPECTED_ATTINY_FIRMWARE_VERSION: u8 = 12; const SEGMENT_LENGTH: usize = 9760; const FRAME_LENGTH: usize = SEGMENT_LENGTH * 4;