Does anyone know how to automatically configure the sdkconfig options for 16MiB/Octal SPIRAM etc.? I'd like to make these changes and help fix the public codebase.
I also added menuconfig and monitor to the Makefile as this makes working with only Make much easier.
Code: Select all
all:
idf.py $(IDFPY_FLAGS) build
@$(PYTHON) makeimg.py \
$(BUILD)/sdkconfig \
$(BUILD)/bootloader/bootloader.bin \
$(BUILD)/partition_table/partition-table.bin \
$(BUILD)/micropython.bin \
$(BUILD)/firmware.bin \
$(BUILD)/micropython.uf2
$(BUILD)/bootloader/bootloader.bin $(BUILD)/partition_table/partition-table.bin $(BUILD)/micropython.bin: FORCE
clean:
idf.py $(IDFPY_FLAGS) fullclean
menuconfig:
idf.py $(IDFPY_FLAGS) menuconfig
deploy:
idf.py $(IDFPY_FLAGS) -p $(PORT) -b $(BAUD) flash
erase:
idf.py $(IDFPY_FLAGS) -p $(PORT) -b $(BAUD) erase-flash
monitor:
idf.py $(IDFPY_FLAGS) -p $(PORT) -b $(BAUD) monitor
submodules:
git submodule update --init $(addprefix ../../,$(GIT_SUBMODULES))