From db8843ad8c2c1a817397fcd70582514df23938bf Mon Sep 17 00:00:00 2001 From: alextrical <35117191+alextrical@users.noreply.github.com> Date: Sat, 10 May 2025 21:58:32 +0100 Subject: [PATCH] Add instructions to compile on a Mac (Apple Silicone and Intel) --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d45b6aa..fe64dfa1 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,20 @@ serial | [remapper_serial.uf2](https://github.com/jfedor2/hid-remapper/releases/ The easiest way to compile the firmware is to let GitHub do it for you. This repository has GitHub Actions that build the firmware, so you can just fork, make your changes, wait for the job to complete, and look for the binaries in the artifacts produced. -To compile the RP2040 firmware on your machine, use the following steps (details may vary depending on your Linux distribution): +To compile the RP2040/RP2350 firmware on your machine, use the following steps +(details may vary depending on your OS/distribution): +Debian / Ubuntu Dependancies ``` sudo apt install gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib srecord +``` +Mac Dependancies +``` +brew install arm-none-eabi-gcc srecord +``` + +Compile +``` git clone https://github.com/jfedor2/hid-remapper.git cd hid-remapper git submodule update --init