first commit
This commit is contained in:
21
.cargo/config.toml
Normal file
21
.cargo/config.toml
Normal file
@@ -0,0 +1,21 @@
|
||||
[target.thumbv6m-none-eabi]
|
||||
runner = 'probe-rs run --chip STM32L010RBTx'
|
||||
|
||||
rustflags = [
|
||||
"-C", "link-arg=--nmagic",
|
||||
"-C", "link-arg=-Tlink.x",
|
||||
"-C", "link-arg=-Tdefmt.x",
|
||||
"-C", "link-arg=--no-rosegment"
|
||||
]
|
||||
|
||||
[build]
|
||||
target = "thumbv6m-none-eabi"
|
||||
|
||||
[env]
|
||||
DEFMT_LOG = "trace"
|
||||
|
||||
[alias]
|
||||
main = "embed --release --bin main"
|
||||
rb = "embed --release --bin"
|
||||
s = "size --bin main -- -B -x"
|
||||
sr = "size --release --bin main -- -B -x"
|
||||
Reference in New Issue
Block a user