ash
d5b0daf018
Pin Adafruit TinyUSB to v3.0.0 exactly, restore DCD (no deletion), keep --allow-multiple-definition
2026-06-24 00:08:36 +00:00
ash
39a052d7da
Pin Adafruit TinyUSB to <3.0.0 (older TinyUSB compatible with ESP32 core). Remove dcd_stubs.
2026-06-23 23:51:49 +00:00
ash
9ea09d52fe
Add extra_script.py to pass -Wl,--allow-multiple-definition to linker for duplicate TinyUSB symbol fix
2026-06-23 23:18:34 +00:00
ash
dbb66e1e77
Fix duplicate TinyUSB symbols: add lib_archive=no (prevents Adafruit library archiving, changes link order so local .o defines symbols before libarduino_tinyusb.a)
2026-06-23 23:14:51 +00:00
ash
c737849a96
Fix build: add Adafruit_TinyUSB.h include in main.cpp, add build_unflags to prevent ARDUINO_USB_MODE redefinition warning
2026-06-23 23:12:42 +00:00
ash
a3e86d0ddf
Fix USB MIDI enumeration: switch from ARDUINO_USB_MODE=1 to 0 (matches working Adafruit TinyUSB example), add explicit TinyUSBDevice.begin(0) and detach/attach re-enumeration, remove conflicting tusb_config.h
2026-06-23 23:10:20 +00:00
ash
be36ba9bf4
Remove broken I2S define, revert to default RMT + correct pin 12
2026-06-23 22:37:03 +00:00
ash
2b689f3b18
Move FASTLED_USES_ESP32S3_I2S to build_flags so FastLED .cpp files compile with it
2026-06-23 22:32:31 +00:00
ash
bec8025f0a
Add rawled bit-bang command, restore FastLED
2026-06-23 14:39:46 +00:00
ash
5f2ad9ef91
Switch from FastLED to Adafruit NeoPixel (more reliable on ESP32-S3 RMT)
2026-06-23 14:32:19 +00:00
ash
5de4de4f1a
Switch from NeoPixel to FastLED for ESP32-S3 LED reliability
...
FastLED has better ESP32 support and handles timing/RMT properly.
- Use CRGB array instead of Adafruit_NeoPixel
- FastLED.show() is more reliable on ESP32-S3
- probe command now tests all LEDs at max brightness
2026-06-23 13:56:05 +00:00
ash
07e5cd8994
Rewrite MUX: WS2812C LEDs (NeoPixel) + 74HC165 buttons
...
PixelStomp MUX uses:
- WS2812C LEDs: one data line via DAT (GPIO 9), NeoPixel protocol
- 74HC165 shift register: LD/CLK/DI for reading 8 button states
Changes:
- Use Adafruit NeoPixel library for LED control
- Proper 74HC165 parallel-load shift-in for buttons
- 8 switches + 8 LEDs (was incorrectly 10)
- Diagnostic commands: dump, ledtest, red, green, blue, read
2026-06-23 13:38:51 +00:00
ash
81cd2b41fd
Remove fixed monitor_port, let PlatformIO auto-detect
2026-06-23 13:30:06 +00:00
ash
f51df7e660
Fix board ID back to esp32-s3-devkitc-1
2026-06-23 13:28:32 +00:00
ash
c94be67384
Fix for ESP32-S3-WROOM-1: safe GPIO pins, serial flush, delays
...
- Switch pins: 2-7, 15-18 (avoids USB 19/20, PSRAM 26-32, JTAG 34-37)
- LED pins: 38-42, 45-48, 21 (high GPIOs, no special functions)
- Add Serial.flush() after init messages
- Increase startup delays for reliable serial output
- Board: esp32-s3-devkitc-1-n16r8
2026-06-23 13:22:49 +00:00
ash
22572b9baa
Fix Adafruit TinyUSB API: TinyUSBDevice, writePacket, mounted()
2026-06-23 13:12:32 +00:00
ash
987288fd41
Fix USB MIDI: use Adafruit TinyUSB Library for proper MIDI support
...
- Add Adafruit TinyUSB Library dependency
- Create tusb_config.h enabling MIDI class
- USB device named 'Loopy Foot Controller'
- is_connected() check before sending
2026-06-23 13:10:25 +00:00
ash
4d81386f78
Fix USB MIDI, add LED startup animation, improve logging
...
- Use ArduinoUSBMIDI library for proper USB MIDI device recognition
- Add LED startup colour cycle (red, green, blue, yellow, magenta, cyan, white)
- Add comprehensive console logging for all MIDI in/out and switch events
- Log unmapped MIDI messages
2026-06-23 13:06:57 +00:00
ash
c1b163c8b8
Fix MIDI transport: use TinyUSB directly instead of non-existent USBMIDI.h
2026-06-23 13:00:39 +00:00
ash
9078001404
Convert to PlatformIO/Arduino format
...
- Replace ESP-IDF structure with PlatformIO (platformio.ini)
- Move source files to src/ and include/
- Move libraries to lib/ directory
- Replace FreeRTOS with Arduino task/vTaskDelay
- Use Arduino MIDI library instead of raw TinyUSB
- Dual-core: MIDI on core 0, controller on core 1
2026-06-23 12:55:12 +00:00