]> granicus.if.org Git - esp-idf/commit
esp32: Fix backwards compatibility for pre-v2.1 bootloaders
authorAngus Gratton <angus@espressif.com>
Thu, 14 Dec 2017 23:32:53 +0000 (10:32 +1100)
committerAngus Gratton <gus@projectgus.com>
Mon, 18 Dec 2017 02:45:57 +0000 (13:45 +1100)
commitc69af42b96a36afc3b74e1b52f4dcbc1eadffeb5
treeb73b7ff933eec93ef83fe761dab43ac8a8b2a391
parent8688f0ec05212836b3b691964bc177e2f94697f4
esp32: Fix backwards compatibility for pre-v2.1 bootloaders

Older bootloaders don't set RTC_XTAL_FREQ_REG or call rtc_clk_init(),
app needs to pick this up.

Reported at
https://esp32.com/viewtopic.php?f=2&t=3939&p=17836
components/bootloader/subproject/main/bootloader_start.c
components/bootloader_support/include/bootloader_clock.h [new file with mode: 0644]
components/bootloader_support/src/bootloader_clock.c [new file with mode: 0644]
components/esp32/Kconfig
components/esp32/clk.c
components/soc/esp32/include/soc/rtc.h