You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zavlaha-kzk/Makefile

15 lines
327 B

.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"