Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f5a54f7

Browse files
committedOct 1, 2024··
Fixed run config and target selection
Signed-off-by: paulober <[email protected]>
1 parent 1dbcd2c commit f5a54f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/utils/projectGeneration/projectRust.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -986,9 +986,9 @@ fn main() {
986986
println!("cargo:rerun-if-changed=rp2040.x");
987987
} else {
988988
if contents.contains("riscv") {
989-
target = "thumbv8m.main-none-eabihf";
990-
} else {
991989
target = "riscv32imac-unknown-none-elf";
990+
} else {
991+
target = "thumbv8m.main-none-eabihf";
992992
}
993993
let memory_x = include_bytes!("rp2350.x");
994994
let mut f = File::create(out.join("memory.x")).unwrap();

0 commit comments

Comments
 (0)
Please sign in to comment.