Skip to content

Commit

Permalink
Merge pull request #61 from jder/patch-1
Browse files Browse the repository at this point in the history
Make rust emitted code compatible with Rev A Playdate hardware
  • Loading branch information
boozook authored Aug 10, 2024
2 parents f46cda4 + cc5d5fa commit f877535
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ impl Build {
"RUSTFLAGS",
[
"-Ctarget-cpu=cortex-m7",
"-Ctarget-feature=-fp64", // Rev A hardware seems to not have 64-bit floating point support
"-Clink-args=--emit-relocs",
"-Crelocation-model=pic",
"-Cpanic=abort",
Expand Down

0 comments on commit f877535

Please sign in to comment.