add ulisp

This commit is contained in:
2020-12-16 15:00:26 -08:00
parent 1786d6377a
commit 3e5462fc74
8 changed files with 5727 additions and 0 deletions

32
ulisp/Makefile Normal file
View File

@@ -0,0 +1,32 @@
BOARD := adafruit_feather_m4
FIRMWARE := .pioenvs/$(BOARD)/firmware.bin
SOURCES := \
src/ulisp.cc
PIO := pio run -e $(BOARD)
$(FIRMWARE): $(SOURCES)
$(PIO)
PHONY: all
all: $(FIRMWARE)
.PHONY: upload
upload: $(FIRMWARE)
$(PIO) -t upload
.PHONY: monitor
monitor:
$(PIO) -t monitor
.PHONY: deploy
deploy: $(FIRMWARE)
$(PIO) -t upload && sleep 0.5 && $(PIO) -t monitor
.PHONY: clean
clean:
$(PIO) -t clean
.PHONY: cloc
cloc:
cloc include lib src