]> granicus.if.org Git - esp-idf/commit
bugfix(flash): add flash config in app startup
authorchenjianqiang <chenjianqiang@espressif.com>
Fri, 5 Jul 2019 12:21:36 +0000 (20:21 +0800)
committerchenjianqiang <chenjianqiang@espressif.com>
Thu, 18 Jul 2019 06:40:59 +0000 (14:40 +0800)
commitd77c74770a879fa25058bea78719d5e66ab34bdd
treeefa71a387c4398b250f5a42afa9bd00b3feb2b86
parent785e71156119cce4e20059fa562fa8ec102ef9fc
bugfix(flash): add flash config in app startup

We fixed some flash bugs in bootloader, but for the users used the old
vrsion bootloader, they can not fix these bugs via OTA, the solution is
add these updates in app startup.

These updates include:
1. SPI flash gpio matrix and drive strength configuration
2. SPI flash clock configuration
3. SPI flash read dummy configuration
4. SPI flash cs timing configuration
5. Update flash id of g_rom_flashchip
components/bootloader_support/CMakeLists.txt
components/bootloader_support/include/bootloader_common.h
components/bootloader_support/include/bootloader_flash_config.h [new file with mode: 0644]
components/bootloader_support/src/bootloader_common.c
components/bootloader_support/src/bootloader_flash_config.c [new file with mode: 0644]
components/bootloader_support/src/bootloader_init.c
components/esp32/cpu_start.c
components/esp32/spiram_psram.c
components/esp_rom/include/esp32/rom/spi_flash.h