mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-28 20:58:31 +00:00
Use full dashboard for USB tutorials
This commit is contained in:
1 parent
960022c394
commit
ff9bf0a36c
9 files changed
+29
-140
No files matched your search
@@ -3,11 +3,13 @@ PICO_BOARD ?= pico2
|
||||
BUILD ?= build/$(PICO_BOARD)
|
||||
.PHONY: all build flash clean
|
||||
all: build
|
||||
build:
|
||||
build: ../../device-dashboard/full/file_data.c
|
||||
PICO_SDK_PATH=$(PICO_SDK_PATH) cmake -S . -B $(BUILD) -DPICO_BOARD=$(PICO_BOARD) -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build $(BUILD) -j 4
|
||||
flash: build
|
||||
picotool load -f $(BUILD)/firmware.uf2
|
||||
picotool reboot
|
||||
../../device-dashboard/full/file_data.c:
|
||||
cd $(dir $@) && $(MAKE) $(notdir $@)
|
||||
clean:
|
||||
rm -rf build
|
||||
Reference in new issue
Block a user