mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-25 20:28:27 +00:00
Add USB NCM drivers
This commit is contained in:
1 parent
bae9e53f00
commit
a8d6573ccc
31 files changed
+3057
-175
No files matched your search
@@ -0,0 +1,13 @@
|
||||
PICO_SDK_PATH ?= $(HOME)/src/pico-sdk
|
||||
PICO_BOARD ?= pico2
|
||||
BUILD ?= build/$(PICO_BOARD)
|
||||
.PHONY: all build flash clean
|
||||
all: build
|
||||
build:
|
||||
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
|
||||
clean:
|
||||
rm -rf build
|
||||
Reference in new issue
Block a user