From 1faac3c59d376e8d905c2e953aecea9cdc28fab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=27=C3=A9lectron=20rare?= <108685187+electron-rare@users.noreply.github.com> Date: Wed, 11 Mar 2026 00:12:32 +0100 Subject: [PATCH] chore(audio): stage local changes Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 24 +++++++++++++++++++ .theia/launch.json | 23 ++++++++++++++++++ README.md | 50 +++++++++++++++++++++++++++++++++++++++- config.h | 2 +- tests/README.md | 12 ++++++++++ 5 files changed, 109 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ci.yml create mode 100644 .theia/launch.json create mode 100644 tests/README.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d5b03b2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + branches: [main, master] + pull_request: + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + sanity: + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - uses: actions/checkout@v4 + - name: Sanity + run: | + test -f README.md || test -f Readme.md || test -f readme.md || test -f README + echo "Repository sanity OK" diff --git a/.theia/launch.json b/.theia/launch.json new file mode 100644 index 0000000..dd9732e --- /dev/null +++ b/.theia/launch.json @@ -0,0 +1,23 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + "version": "0.2.0", + "configurations": [ + { + "cwd": "${workspaceRoot}", + "executable": "./bin/executable.elf", + "name": "Debug Microcontroller", + "request": "launch", + "type": "cortex-debug", + "servertype": "jlink" + }, + { + "cwd": "${workspaceRoot}", + "executable": "./bin/executable.elf", + "name": "Debug Microcontroller", + "request": "launch", + "type": "cortex-debug", + "servertype": "openocd" + } + ] +} diff --git a/README.md b/README.md index ed629d7..c758e64 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,52 @@ Default configuration: - Key2: toggle click - Key3 - Key6: toggle rec mode -I recommend using Tera Term or another VT100 compatible tool to see whats going on inside of the application \ No newline at end of file +I recommend using Tera Term or another VT100 compatible tool to see whats going on inside of the application + + + + + + + + + + + + + + + + + + + + + + + + +## Audit & Execution Plan (2026-03-10) + +### Snapshot +- Priority: `P2` +- Tech profile: `other` +- Workflows: `yes` +- Tests: `yes` +- Debt markers: `0` +- Source files: `7` + +### Corrections Prioritaires +- [ ] Optimisation ciblée perf/maintenabilité +- [ ] Ajouter/fiabiliser les commandes de vérification automatiques. +- [ ] Clore les points bloquants avant optimisation avancée. + +### Optimisation +- [ ] Identifier le hotspot principal et mesurer avant/après. +- [ ] Réduire la complexité des modules les plus touchés. + +### Mémoire chantier +- Control plane: `/Users/electron/.codex/memories/electron_rare_chantier` +- Repo card: `/Users/electron/.codex/memories/electron_rare_chantier/REPOS/esp32_multitrack_looper.md` + + diff --git a/config.h b/config.h index 460466b..86f5f66 100644 --- a/config.h +++ b/config.h @@ -64,7 +64,7 @@ #define MIDI_RECV_FROM_SERIAL /* use this to display a scope on the oled display */ -//#define OLED_OSC_DISP_ENABLED +#define OLED_OSC_DISP_ENABLED #define AUDIO_KIT_BUTTON_ANALOG diff --git a/tests/README.md b/tests/README.md new file mode 100644 index 0000000..1ba4ecd --- /dev/null +++ b/tests/README.md @@ -0,0 +1,12 @@ +# Smoke Tests + +## Objectif +Valider un niveau minimal de qualité avant optimisation. + +## Vérifications minimales +- Arborescence projet cohérente. +- README présent et à jour. +- Scripts/commandes principales documentés. + +## Critères de réussite +- Aucune erreur bloquante détectée sur les commandes de base.