diff --git a/.cargo/config.toml b/.cargo/config.toml index a565984..fe36bd6 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -5,8 +5,8 @@ runner = "probe-rs run --chip RP2040 --protocol swd" # runner = "elf2uf2-rs -d" +linker = "flip-link" rustflags = [ - "-C", "linker=flip-link", "-C", "link-arg=--nmagic", "-C", "link-arg=-Tlink.x", "-C", "link-arg=-Tdefmt.x", diff --git a/cargo-generate/config.toml b/cargo-generate/config.toml index 0e61763..74b239c 100644 --- a/cargo-generate/config.toml +++ b/cargo-generate/config.toml @@ -15,8 +15,8 @@ runner = "{{ flash_method_custom }}" {%- endif -%} {%- endcase %} +linker = "flip-link" rustflags = [ - "-C", "linker=flip-link", "-C", "link-arg=--nmagic", "-C", "link-arg=-Tlink.x", "-C", "link-arg=-Tdefmt.x",