Skip to content

Commit

Permalink
Merge pull request #49 from parasyte/fix/windows-arm-compiler-path
Browse files Browse the repository at this point in the history
Fix ARM compiler path on Windows
  • Loading branch information
boozook authored Sep 13, 2023
2 parents 2619b89 + 3d6f1f4 commit 7eea747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This software is not sponsored or supported by Panic.
* Switch to the nightly toolchain using `rustup toolchain install nightly`, required for the `build-std` feature.
* If you want to build for the Playdate device, you will need the `thumbv7em-none-eabihf` target. Added with `rustup +nightly target add thumbv7em-none-eabihf`
* All the requirements listed in [Inside Playdate with C](https://sdk.play.date/inside-playdate-with-c#_prerequisites).
* The GCC ARM compiler must be available in your system `PATH` environment variable. (This is usually done for you by the installer).

## Installation

Expand Down
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ const GCC_PATH_STR: &'static str = "/usr/local/bin/arm-none-eabi-gcc";
#[cfg(all(unix, not(target_os = "macos")))]
const GCC_PATH_STR: &'static str = "arm-none-eabi-gcc";
#[cfg(windows)]
const GCC_PATH_STR: &'static str =
r"C:\Program Files (x86)\GNU Tools Arm Embedded\9 2019-q4-major\bin\arm-none-eabi-gcc.exe";
const GCC_PATH_STR: &'static str = "arm-none-eabi-gcc.exe";

#[cfg(unix)]
#[allow(unused)]
Expand Down

0 comments on commit 7eea747

Please sign in to comment.