|
|
|
@ -11,7 +11,7 @@ OUTPUT_TYPE=ota |
|
|
|
|
ESP_SPI_FLASH_SIZE_K=1024
|
|
|
|
|
#0: QIO, 1: QOUT, 2: DIO, 3: DOUT
|
|
|
|
|
ESP_FLASH_MODE=0
|
|
|
|
|
#0: 40MHz, 1: 26MHz, 2: 20MHz, 0xf: 80MHz
|
|
|
|
|
#0: 40MHz, 1: 26MHz, 2: 20MHz, 15: 80MHz
|
|
|
|
|
ESP_FLASH_FREQ_DIV=0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -159,7 +159,7 @@ EXTRA_INCDIR := $(addprefix -I,$(EXTRA_INCDIR)) |
|
|
|
|
MODULE_INCDIR := $(addsuffix /include,$(INCDIR))
|
|
|
|
|
|
|
|
|
|
ESP_FLASH_SIZE_IX=$(call maplookup,$(ESP_SPI_FLASH_SIZE_K),512:0 1024:2 2048:5 4096:6)
|
|
|
|
|
ESPTOOL_FREQ=$(call maplookup,$(ESP_FLASH_FREQ_DIV),0:40m 1:26m 2:20m 0xf:80m)
|
|
|
|
|
ESPTOOL_FREQ=$(call maplookup,$(ESP_FLASH_FREQ_DIV),0:40m 1:26m 2:20m 0xf:80m 15:80m)
|
|
|
|
|
ESPTOOL_MODE=$(call maplookup,$(ESP_FLASH_MODE),0:qio 1:qout 2:dio 3:dout)
|
|
|
|
|
ESPTOOL_SIZE=$(call maplookup,$(ESP_SPI_FLASH_SIZE_K),512:4m 256:2m 1024:8m 2048:16m 4096:32m)
|
|
|
|
|
|
|
|
|
|