Skip to content

Commit

Permalink
Update firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronRP committed Mar 6, 2024
1 parent a49d4e7 commit cff2e6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cff2e6e

Please sign in to comment.