Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -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=o1lto \
code/src/PhoenixSketch/PhoenixSketch.ino
4 changes: 2 additions & 2 deletions code/src/PhoenixSketch/BuildInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 "8f9a5b4"
#define BUILD_TIMESTAMP "2026-02-07 07:18:04"

#endif // BUILDINFO_H
1 change: 0 additions & 1 deletion code/src/PhoenixSketch/SDT.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down