]> granicus.if.org Git - esp-idf/commit
Merge branch 'bugfix/rtc_fast_freq_init' into 'master'
authorIvan Grokhotkov <ivan@espressif.com>
Fri, 28 Apr 2017 11:57:42 +0000 (19:57 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Fri, 28 Apr 2017 11:57:42 +0000 (19:57 +0800)
commit07b61d54f7e502bb12527e4b582de121ffa6fa02
treeae9b4c409048ef7a98b725c9a102ea3c12f41643
parente18f8da528259119736771b218785977ab90b2f5
parent1c3b40adeb1de0b18575d5419bfc61264b6ec733
Merge branch 'bugfix/rtc_fast_freq_init' into 'master'

esp32: select 8M clock as RTC_FAST_CLK on startup

Even though RTC_CLK_CONFIG_DEFAULT correctly had RTC_FAST_FREQ_8M as the
fast clock, the bootloader modified fast_freq field to the currently
selected RTC_FAST_CLK (so that the clock choice is not affected by the
bootloader). The application startup code never switched to 8M clock,
which caused the default (XTAL/4) to be used as RTC_FAST_CLK. This had
caused a number of issues, such as touch pads not working in deep sleep.

Fixes https://github.com/espressif/esp-idf/issues/542.
Ref TW12053.

See merge request !709