mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 20:51:31 +11:00
19e2fbea1c
* Add the Pimoroni Servo 2040 board This PR adds the board support package and two simple examples. * Animates a rainbow wheel across the RGB LEDs on the board. * Moves a servo that's connected to GPIO0 back and forth. * Format pimoroni-servo2040 board files * Use us_to_duty function in servo example, clean up comments. * Fix bad types * Add Servo2040 description to top-level readme
7 lines
162 B
Rust
7 lines
162 B
Rust
//! This build script makes sure the linker flag -Tdefmt.x is added
|
|
//! for the examples.
|
|
|
|
fn main() {
|
|
println!("cargo:rustc-link-arg-examples=-Tdefmt.x");
|
|
}
|