From 94cdbe9703cfc32eceb8c1526f6bc57b9d832305 Mon Sep 17 00:00:00 2001 From: Oliver King Date: Sat, 7 Feb 2026 07:09:48 -0500 Subject: [PATCH 1/3] Meaningless change to test PR workflow --- code/src/PhoenixSketch/SDT.h | 1 - 1 file changed, 1 deletion(-) diff --git a/code/src/PhoenixSketch/SDT.h b/code/src/PhoenixSketch/SDT.h index 9d4198a..b7b7930 100644 --- a/code/src/PhoenixSketch/SDT.h +++ b/code/src/PhoenixSketch/SDT.h @@ -32,7 +32,6 @@ typedef int errno_t; #define BEGIN_TEENSY_SHUTDOWN 0 #define SHUTDOWN_COMPLETE 1 - #define EQUALIZER_CELL_COUNT 14 // Teensy pins used for particular functions From 8f9a5b431a12cc096d6d14d0982cd6c36c052ccc Mon Sep 17 00:00:00 2001 From: Oliver King Date: Sat, 7 Feb 2026 07:18:04 -0500 Subject: [PATCH 2/3] Added compile.yml workflow file --- .github/workflows/compile.yml | 37 ++++++++++++++++++++++++++++++ code/src/PhoenixSketch/BuildInfo.h | 4 ++-- 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/compile.yml diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml new file mode 100644 index 0000000..3dd9720 --- /dev/null +++ b/.github/workflows/compile.yml @@ -0,0 +1,37 @@ +name: Compile Production Sketch + +on: + pull_request: + paths: + - 'code/src/PhoenixSketch/**' + - '.github/workflows/compile.yml' + +jobs: + compile: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install arduino-cli + uses: arduino/setup-arduino-cli@v2 + + - name: Configure board support + run: | + arduino-cli config init + arduino-cli config set library.enable_unsafe_install true + arduino-cli config add board_manager.additional_urls \ + https://www.pjrc.com/teensy/package_teensy_index.json + arduino-cli core update-index + arduino-cli core install teensy:avr + + - name: Install libraries + run: | + arduino-cli lib install ArduinoJson "Adafruit MCP23017 Arduino Library" + arduino-cli lib install --git-url \ + https://github.com/chipaudette/OpenAudio_ArduinoLibrary.git + + - name: Compile sketch + run: | + arduino-cli compile \ + --fqbn teensy:avr:teensy41:usb=serial2,speed=600,opt=fastlto \ + code/src/PhoenixSketch/PhoenixSketch.ino diff --git a/code/src/PhoenixSketch/BuildInfo.h b/code/src/PhoenixSketch/BuildInfo.h index abf07bb..b506204 100644 --- a/code/src/PhoenixSketch/BuildInfo.h +++ b/code/src/PhoenixSketch/BuildInfo.h @@ -9,7 +9,7 @@ #ifndef BUILDINFO_H #define BUILDINFO_H -#define GIT_COMMIT_HASH "cabb72d" -#define BUILD_TIMESTAMP "2025-12-31 15:41:46" +#define GIT_COMMIT_HASH "94cdbe9" +#define BUILD_TIMESTAMP "2026-02-07 07:09:48" #endif // BUILDINFO_H From 7869d180725769005cd0e766c262dcd9bee617f2 Mon Sep 17 00:00:00 2001 From: Oliver King Date: Sat, 7 Feb 2026 07:21:15 -0500 Subject: [PATCH 3/3] Fix to compile workflow --- .github/workflows/compile.yml | 2 +- code/src/PhoenixSketch/BuildInfo.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 3dd9720..70148cb 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -33,5 +33,5 @@ jobs: - name: Compile sketch run: | arduino-cli compile \ - --fqbn teensy:avr:teensy41:usb=serial2,speed=600,opt=fastlto \ + --fqbn teensy:avr:teensy41:usb=serial2,speed=600,opt=o1lto \ code/src/PhoenixSketch/PhoenixSketch.ino diff --git a/code/src/PhoenixSketch/BuildInfo.h b/code/src/PhoenixSketch/BuildInfo.h index b506204..bbb34c8 100644 --- a/code/src/PhoenixSketch/BuildInfo.h +++ b/code/src/PhoenixSketch/BuildInfo.h @@ -9,7 +9,7 @@ #ifndef BUILDINFO_H #define BUILDINFO_H -#define GIT_COMMIT_HASH "94cdbe9" -#define BUILD_TIMESTAMP "2026-02-07 07:09:48" +#define GIT_COMMIT_HASH "8f9a5b4" +#define BUILD_TIMESTAMP "2026-02-07 07:18:04" #endif // BUILDINFO_H