mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-05 22:08:23 +00:00
Add Pico-W example
This commit is contained in:
1 parent
eb6a8afe8d
commit
8b3e415201
14 files changed
+443
No files matched your search
@@ -0,0 +1,22 @@
|
||||
RM = rm -rf
|
||||
MKBUILD = rm -rf build && mkdir -p build # test -d build || mkdir build
|
||||
ifeq ($(OS),Windows_NT)
|
||||
RM = cmd /C del /Q /F /S
|
||||
MKBUILD = if not exist build mkdir build
|
||||
endif
|
||||
|
||||
all example:
|
||||
true
|
||||
|
||||
build: pico-sdk build/firmware.uf2
|
||||
|
||||
build/firmware.uf2:
|
||||
$(MKBUILD)
|
||||
cd build && cmake -G "Unix Makefiles" .. && make
|
||||
|
||||
pico-sdk:
|
||||
git clone --depth 1 -b 1.5.1 https://github.com/raspberrypi/pico-sdk $@
|
||||
cd $@ && git submodule update --init
|
||||
|
||||
clean:
|
||||
$(RM) pico-sdk build
|
||||
Reference in new issue
Block a user