Arduino Core 3 (#407)
* Add and remove libs and components for Arduino Core 3 * Arduino Core 3 * Add back Solo1 * Change ESP32-S3 to 4MB build * Update README.md * Fix retain and number of retries * Fix rolling log * Fix defaults * Fix BleScanner on Solo1 * Export settings * Import settings * Fix HA Battery voltage * Change submodule * Update espMqttClient and AsyncTCP * Webserial and MQTT/Network reconnecting * Update nuki_ble --------- Co-authored-by: iranl <iranl@github.com>
This commit is contained in:
14
Makefile
14
Makefile
@@ -10,12 +10,15 @@ default: esp32
|
||||
.PHONY: release
|
||||
release: $(BOARDS)
|
||||
|
||||
.PHONY: updater
|
||||
release: updater_$(BOARDS)
|
||||
|
||||
.PHONY: debug
|
||||
debug: $(DEBUG_BOARDS)
|
||||
|
||||
# Target to build all boards in both release and debug modes
|
||||
# Target to build all boards in release, updater and debug modes
|
||||
.PHONY: all
|
||||
all: release debug
|
||||
all: release updater debug
|
||||
|
||||
# Alias
|
||||
.PHONY: esp32
|
||||
@@ -25,6 +28,10 @@ esp%:
|
||||
@echo "Building $@"
|
||||
pio run --environment $@
|
||||
|
||||
updater_esp%:
|
||||
@echo "Building $@"
|
||||
pio run -d updater --environment $@
|
||||
|
||||
# Help target to display available build targets
|
||||
.PHONY: help
|
||||
help:
|
||||
@@ -36,13 +43,14 @@ help:
|
||||
@$(foreach board,$(DEBUG_BOARDS),echo " make $(board) - Build $(board) in debug mode";)
|
||||
@echo "Available boards:"
|
||||
@echo " $(BOARDS)"
|
||||
@echo " updater_$(BOARDS)"
|
||||
@echo " $(DEBUG_BOARDS)"
|
||||
|
||||
# Utility target to clean build artifacts
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@echo "Cleaning build artifacts..."
|
||||
@-rm -rf release debug .pio/build
|
||||
@-rm -rf release debug .pio/build updater/.pio/build
|
||||
|
||||
# Install dependencies
|
||||
.PHONY: deps
|
||||
|
||||
Reference in New Issue
Block a user