Commit cc35ec9
committed
smart_panel: T-Panel S3 (H720) firmware + manifest
Adds firmware for LILYGO T-Panel S3 with the CAN FD module (SKU H720).
12 intents, 2 events, ~400 LoC C++ stub ready to flash on arrival.
Manifest (examples/smart_panel_manifest.yaml):
v0.3 visual + audio (works on any S3 board):
set_backlight, set_color, display_text, clear_screen,
play_tone, play_score, stop_playback, read_touch
v0.4 CAN bus:
can_send, can_receive_last + touch/can events
v0.5 motor stubs:
move_motor, read_motor_position (return denied for now)
Firmware highlights:
- ST7701S 4" 480x480 RGB-parallel display via Arduino_GFX
- CST3240 capacitive touch via TouchLib
- ESP32-S3 TWAI classic CAN @ 500kbps via TD501MCANFD transceiver
- MML-string melody parser ("C4q E4q G4q C5h" syntax)
- Non-blocking score scheduler in loop() so DCP polling is never starved
- Buzzer/speaker on user-added GPIO 19
Honest caveats documented in code:
- T-Panel does not include a speaker; user must add ~Y10 buzzer
- ESP32-S3 TWAI is classic CAN, not CAN FD (despite H720 SKU naming).
TD501MCANFD is CAN FD capable on the physical layer but the MCU only
generates classic CAN frames. v0.5 plan: port to ESP32-P4 for native
CAN FD.
- v0.5 motor intents are stubbed; real CANopen/stepper handler comes
after the CAN-bus stepper driver is wired up.
Validated via dcp inspect: 12 intents + 2 events parse correctly.
Firmware will be flashed and round-tripped on hardware arrival.1 parent f787e93 commit cc35ec9
2 files changed
Lines changed: 583 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
0 commit comments