ahhh shit here we go again

This commit is contained in:
Ben Kyd
2023-05-15 17:25:47 +01:00
parent f6da14fa0c
commit 40030635c0
13 changed files with 80 additions and 13 deletions

20
Makefile Normal file
View File

@@ -0,0 +1,20 @@
.ONESHELL:
TARGET=rpi_pico
CMAKE_ZEPHYR_PATH=../zephyrproject/zephyr
CMAKE_ZEPHYR_COMMAND=west build
CMAKE_ZEPHYR_FLAGS=-b $(TARGET)
all: flash
compile:
$(CMAKE_ZEPHYR_COMMAND) $(CMAKE_ZEPHYR_FLAGS)
# FIXME: This is entirely board specific, for example the pi pico will vibe differently
flash:
west flash
clean:
rm -rf build/
mkdir build