Skip to content

Commit d341022

Browse files
authored
Merge pull request #40 from chinoto/patch-2
Add .cargo/config.toml to simplify build command
2 parents ef86000 + 9e907ac commit d341022

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.cargo/config.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[build]
2+
target = "avr-atmega328p.json"
3+
4+
[unstable]
5+
build-std = ["core"]
6+
7+
# Cargo versions before 2021-02-23 won't recognize this: https://github.com/rust-lang/cargo/pull/9175
8+
[env]
9+
AVR_CPU_FREQUENCY_HZ = 16000000

0 commit comments

Comments
 (0)