Files
passr-firmware/Makefile
2023-05-15 17:28:42 +01:00

21 lines
356 B
Makefile

.ONESHELL:
TARGET=rpi_pico
CMAKE_ZEPHYR_PATH=../zephyrproject/zephyr
CMAKE_ZEPHYR_COMMAND=west build
CMAKE_ZEPHYR_FLAGS=-b $(TARGET)
all: compile 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