This repository contains the set of generic Embassy examples adjusted for the 1Bitsy board.
-
Install rustup
-
Install the cross compiler target
rustup target add thumbv7em-none-eabi
- Install
probe-rs
with defmt support.
cargo install probe-rs --features=cli
- Run the example
For example:
cargo run --bin blinky
- adc
- blinky
- button_exti
- button
- can
- dac
- flash_async
- flash
- hello
- i2c
- i2s_dma
- mco
- multiprio
- pwm_complementary
- pwm
- rtc
- sdmmc
- spi_dma
- spi
- usart_buffered
- usart_dma
- usart
- usb_ethernet
- usb_serial
- wdt
This work is licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.