mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-05 22:08:23 +00:00
BLE radio support
This commit is contained in:
1 parent
a8d6573ccc
commit
0582cd6724
81 files changed
+7053
-4906
No files matched your search
@@ -0,0 +1,22 @@
|
||||
# Build: ESP-IDF from the espressif/idf Docker image. Flash: esptool
|
||||
# Wi-Fi credentials: make WIFI_NAME=... WIFI_PASS=... build, or set them in
|
||||
# the environment. Unset, the defaults in main/main.c apply
|
||||
|
||||
THISDIR = $(realpath $(CURDIR))
|
||||
ROOTDIR = $(realpath $(CURDIR)/../../..)
|
||||
DOCKER ?= docker run --rm -e WIFI_NAME -e WIFI_PASS -v $(ROOTDIR):$(ROOTDIR) -w $(THISDIR) espressif/idf
|
||||
PORT ?= /dev/cu.usbmodem101
|
||||
|
||||
all build:
|
||||
$(DOCKER) idf.py reconfigure build # reconfigure picks up WIFI_* changes
|
||||
|
||||
flash: build
|
||||
cd build && esptool --chip esp32c6 -p $(PORT) -b 460800 write-flash @flash_args
|
||||
|
||||
menuconfig:
|
||||
docker run --rm -it -v $(ROOTDIR):$(ROOTDIR) -w $(THISDIR) espressif/idf idf.py menuconfig
|
||||
|
||||
clean:
|
||||
test -d build && rm -rf build sdkconfig || true
|
||||
|
||||
.PHONY: all build flash menuconfig clean
|
||||
Reference in new issue
Block a user