Skip to content

Commit

Permalink
Fixed run config and target selection
Browse files Browse the repository at this point in the history
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
  • Loading branch information
paulober committed Oct 1, 2024
1 parent 1dbcd2c commit f5a54f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/projectGeneration/projectRust.mts
Original file line number Diff line number Diff line change
Expand Up @@ -986,9 +986,9 @@ fn main() {
println!("cargo:rerun-if-changed=rp2040.x");
} else {
if contents.contains("riscv") {
target = "thumbv8m.main-none-eabihf";
} else {
target = "riscv32imac-unknown-none-elf";
} else {
target = "thumbv8m.main-none-eabihf";
}
let memory_x = include_bytes!("rp2350.x");
let mut f = File::create(out.join("memory.x")).unwrap();
Expand Down

0 comments on commit f5a54f7

Please sign in to comment.