refactor: rename sketch to sketch.ino, add flash-sketch recipe
Validate and Test / validate-patches (push) Failing after 12s
Validate and Test / validate-patches (push) Failing after 12s
- Permanent rename: led-matrix-bridge.ino → sketch.ino (Arduino CLI convention) - Add just flash-sketch recipe for compiling/flashing MCU via board's arduino-cli - Run via post-merge hooks for auto-deploy
This commit is contained in:
@@ -338,6 +338,12 @@ kconfig:
|
|||||||
@ssh {{SSH_OPTS}} "{{BOARD_USER}}@{{BOARD_HOST}}" "\
|
@ssh {{SSH_OPTS}} "{{BOARD_USER}}@{{BOARD_HOST}}" "\
|
||||||
zgrep -E 'CONFIG_USB_(GADGET|CONFIGFS|F_UAC1|F_MIDI|DWC3|F_ACC|F_SERIAL)' /proc/config.gz 2>/dev/null | awk -F= '{printf \" %-45s %s\\n\", \$1, \$2}'"
|
zgrep -E 'CONFIG_USB_(GADGET|CONFIGFS|F_UAC1|F_MIDI|DWC3|F_ACC|F_SERIAL)' /proc/config.gz 2>/dev/null | awk -F= '{printf \" %-45s %s\\n\", \$1, \$2}'"
|
||||||
|
|
||||||
|
# Compile and flash the MCU sketch (LED matrix bridge) via SWD
|
||||||
|
flash-sketch:
|
||||||
|
@ssh {{SSH_OPTS}} "{{BOARD_USER}}@{{BOARD_HOST}}" "\
|
||||||
|
cd {{REPO_DIR}} && \
|
||||||
|
arduino-cli compile --upload --fqbn arduino:zephyr:unoq sketch/"
|
||||||
|
|
||||||
# Validate all .pd files using Conftest/OPA Rego policies
|
# Validate all .pd files using Conftest/OPA Rego policies
|
||||||
validate:
|
validate:
|
||||||
python3 pd-validator/validate.py pd/*.pd
|
python3 pd-validator/validate.py pd/*.pd
|
||||||
|
|||||||
Reference in New Issue
Block a user