aboutsummaryrefslogtreecommitdiff
path: root/puzzle/dummy
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-09 11:59:35 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-09 11:59:35 +0200
commit5fcf856a3b7482f65d2a7a152e909e1f9a304e22 (patch)
tree4b973efe2cfaf35f20ae4994c33f08e7a189e765 /puzzle/dummy
parentf6ac5839b6b54713126d430d8a037138d6619dce (diff)
fix arduino pbdrv
Diffstat (limited to 'puzzle/dummy')
-rw-r--r--puzzle/dummy/main.cpp1
-rw-r--r--puzzle/dummy/makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/puzzle/dummy/main.cpp b/puzzle/dummy/main.cpp
index 4abe47a..df5b6f5 100644
--- a/puzzle/dummy/main.cpp
+++ b/puzzle/dummy/main.cpp
@@ -2,6 +2,7 @@
#include <Wire.h>
#include "drv/arduino/mod.h"
+#include "pb-mod.h"
#ifdef TEST_A
#define ADDR_RX 0x69
diff --git a/puzzle/dummy/makefile b/puzzle/dummy/makefile
index 041054e..509d8e3 100644
--- a/puzzle/dummy/makefile
+++ b/puzzle/dummy/makefile
@@ -4,6 +4,7 @@ include ../../lazy.mk
export SERIAL_PORT ?= /dev/ttyACM0
flash: upload-main;
+upload-main: $(TARGET)
test: test_a test_b;