Truly minimal STM32G0/STM32C0 proto board.
- Breadboard/Perfboard friendly
- Power line bypass capacitors
- Reset circuit
Tag-Connect TC2030-CTX-NL
programming connector- Optional battery connector with LDO
- Optional configurable LED
- Install rustup by following the instructions at https://rustup.rs
- Install Cortex-M0, M0+, and M1 (ARMv6-M architecture) target:
rustup target add thumbv6m-none-eabi
- Install LLVM tools:
rustup component add llvm-tools-preview
- Install cargo-binutils:
cargo install cargo-binutils
(Note: on some Linux distros (e.g. Ubuntu) you may need to install the packages build-essential, gcc-arm-none-eabi, libssl-dev and pkg-config prior to installing cargo-binutils.) - Install cargo-generate:
cargo install cargo-generate
- Generate project:
cargo generate --git https://github.com/dotcypress/placebo-template.git
- Build firmware:
cargo build --release
- Flash microcontroller:
cargo run --release
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.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.