diff --git a/justfile b/justfile index 0265aa3..bb47938 100644 --- a/justfile +++ b/justfile @@ -342,7 +342,8 @@ kconfig: flash-sketch: @ssh {{SSH_OPTS}} "{{BOARD_USER}}@{{BOARD_HOST}}" "\ cd {{REPO_DIR}} && \ - arduino-cli compile --upload --fqbn arduino:zephyr:unoq sketch/" + INCS=\$(find /home/arduino/Arduino/libraries -type d -not -path '*/Arduino_RouterBridge*' -not -path '*/Arduino_RPClite*' 2>/dev/null | sort -u | sed 's/^/-I/' | tr '\n' ' ') && \ + arduino-cli compile --upload --fqbn arduino:zephyr:unoq --build-property \"build.extra_flags=\$INCS\" sketch/" # Validate all .pd files using Conftest/OPA Rego policies validate: diff --git a/sketch/sketch.ino b/sketch/sketch.ino index 9d74673..2d938ea 100644 --- a/sketch/sketch.ino +++ b/sketch/sketch.ino @@ -121,5 +121,6 @@ void setup() { } void loop() { - delay(1000); + Bridge.run(); + delay(1); }