Initial commit, LCD, RE, Moisture, Keypad working, TODO I2C
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
.PHONY: build
|
||||
|
||||
TARGET=build/zavlaha.elf
|
||||
TARGET_U2F=build/zavlaha.uf2
|
||||
|
||||
build:
|
||||
cd build && cmake .. && make -j
|
||||
arm-none-eabi-size ${TARGET}
|
||||
|
||||
upload: build $(TARGET_U2F)
|
||||
cp $(TARGET_U2F) /run/media/ondra/RPI-RP2/
|
||||
|
||||
flash: build
|
||||
pico-openocd -f target/rp2040.cfg -c "adapter speed 1000" -c "program ${TARGET} verify reset exit"
|
||||
Reference in New Issue
Block a user