diff --git a/.cargo/config.toml b/.cargo/config.toml index 01c7fca..0b32db2 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,6 +1,5 @@ [target.'cfg(all(target_arch = "arm", target_os = "none"))'] -runner = "probe-rs run --chip RP2040 --protocol swd" -# runner = "elf2uf2-rs -d" +runner = "picotool load -u -v -x -t elf" rustflags = [ "-C", "linker=flip-link", diff --git a/shell.nix b/shell.nix index d866bbc..882a501 100644 --- a/shell.nix +++ b/shell.nix @@ -1,10 +1,9 @@ { pkgs ? import {} }: pkgs.mkShell { nativeBuildInputs = with pkgs; [ - elf2uf2-rs + picotool gcc gnumake - probe-rs rustup ]; }