Use picotool
This commit is contained in:
parent
574b0cb4fe
commit
cd9c304370
2 changed files with 2 additions and 4 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
||||||
runner = "probe-rs run --chip RP2040 --protocol swd"
|
runner = "picotool load -u -v -x -t elf"
|
||||||
# runner = "elf2uf2-rs -d"
|
|
||||||
|
|
||||||
rustflags = [
|
rustflags = [
|
||||||
"-C", "linker=flip-link",
|
"-C", "linker=flip-link",
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,9 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
elf2uf2-rs
|
picotool
|
||||||
gcc
|
gcc
|
||||||
gnumake
|
gnumake
|
||||||
probe-rs
|
|
||||||
rustup
|
rustup
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue