Skip to content

tutrobo/tourobo2024_rppico-encoder-firm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Bynary CI Check

rppico-encoder-node

This firmware transmit cobs encoder data via usb-cdc.

burn firmware!

  1. download rppico-encoder-node.uf2 from latest release
  2. connect raspberry pi pico with boot mode
  3. mount raspberry pi pico mass storage
  4. copy rppico-encoder-node.uf2 to raspberry pi pico
  5. OK!

setup enviroment

install toolchain.

# install target for arm cortex-M0+
rustup target install thumbv6m-none-eabi
# install tools for development
cargo install flip-link elf2uf2-rs probe-run

build

# build
cargo build --release
# create uf2 binary (rppico-encoder-firm is elf file)
elf2uf2rs target/thumbv6m-none-eabi/release/rppico-encoder-firm target/thumbv6m-none-eabi/release/rppico-encoder-firm.uf2

run

you can run program on raspberry pi pico with below command

cargo run

or

cargo build --release
elf2uf2rs -d target/thumbv6m-none-eabi/release/rppico-encoder-firm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%