Skip to content

Commit 97878b2

Browse files
committed
blinky
1 parent 81ed613 commit 97878b2

File tree

9 files changed

+1298
-0
lines changed

9 files changed

+1298
-0
lines changed

src/pico/.cargo/config.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
[build]
3+
# target = "riscv32imac-unknown-none-elf"
4+
target = "thumbv8m.main-none-eabihf"
5+
6+
[target.'cfg(all(target_os = "none"))']
7+
runner = 'cargo embed run --chip RP235x --protocol swd'
8+
9+
[target.thumbv8m.main-none-eabihf]
10+
rustflags = [
11+
"-C", "link-arg=--nmagic",
12+
"-C", "link-arg=-Tlink.x",
13+
"-C", "link-arg=-Tdefmt.x",
14+
"-C", "target-cpu=cortex-m33",
15+
]
16+
17+
[target.riscv32imac-unknown-none-elf]
18+
rustflags = [
19+
"-C", "link-arg=--nmagic",
20+
"-C", "link-arg=-Trp235x_riscv.x",
21+
"-C", "link-arg=-Tdefmt.x",
22+
]
23+
24+
[env]
25+
DEFMT_LOG = "debug"

src/pico/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
target/

0 commit comments

Comments
 (0)