Merge c4297a3bac into 7dc7be0909
This commit is contained in:
commit
247f3ab9c9
3 changed files with 3 additions and 5 deletions
|
|
@ -4,4 +4,4 @@
|
|||
nvs, data, nvs, 0x9000, 0x6000
|
||||
phy_init, data, phy, 0xf000, 0x1000
|
||||
factory, app, factory, 0x10000, 1M,
|
||||
part0, 0x40, 0x1, 0x200000, 1M,
|
||||
part0, 0x40, 0x1, 0x200000, 2M,
|
||||
|
|
|
|||
|
|
|
@ -9,6 +9,8 @@ CONFIG_PARTITION_TABLE_CUSTOM=y
|
|||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="config/esp32/partitions.csv"
|
||||
CONFIG_PARTITION_TABLE_FILENAME="config/esp32/partitions.csv"
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
||||
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
|
||||
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
|
||||
CONFIG_WL_SECTOR_SIZE_512=y
|
||||
CONFIG_WL_SECTOR_MODE_PERF=y
|
||||
COMPILER_OPTIMIZATION="Performance"
|
||||
|
|
|
|||
|
|
@ -149,10 +149,6 @@ void do_flash() {
|
|||
}
|
||||
}
|
||||
flash_available = false;
|
||||
#ifdef ESP_PLATFORM
|
||||
esp_partition_munmap(fd_map);
|
||||
esp_partition_mmap(part0, 0, part0->size, ESP_PARTITION_MMAP_DATA, (const void **)&map, (esp_partition_mmap_handle_t *)&fd_map);
|
||||
#endif
|
||||
mutex_exit(&mtx_flash);
|
||||
}
|
||||
sem_release(&sem_flash);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue