mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 13:11:30 +11:00
2c3a0956fa
Sorry this is a large commit :( This adds support for input pins, including pulling them high or low. It also adds two examples: the start of a classic blinky LED example, and an example for reading input.
12 lines
274 B
Plaintext
12 lines
274 B
Plaintext
[build]
|
|
# Instruction set of Cortex-M0+
|
|
target = "thumbv6m-none-eabi"
|
|
|
|
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
|
rustflags = [
|
|
"-C", "link-arg=--nmagic",
|
|
"-C", "link-arg=-Tlink.x",
|
|
"-C", "inline-threshold=5",
|
|
"-C", "no-vectorize-loops",
|
|
]
|