Skip to content

Commit

Permalink
Merge pull request RIOT-OS#13059 from gschorcht/cpu/esp32/fix_xtal_freq
Browse files Browse the repository at this point in the history
cpu/esp32: activate automatic XTAL detection
  • Loading branch information
benpicco authored Jan 31, 2020
2 parents 92c7a7a + 528512d commit 57db6b7
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
Binary file modified cpu/esp32/bin/bootloader.bin
Binary file not shown.
Binary file modified cpu/esp32/bin/bootloader_colors.bin
Binary file not shown.
Binary file modified cpu/esp32/bin/bootloader_colors_info.bin
Binary file not shown.
Binary file modified cpu/esp32/bin/bootloader_info.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions cpu/esp32/include/sdk_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ extern "C" {
* This is configured at the board level, defaulting to 40.
*/
#ifndef CONFIG_ESP32_XTAL_FREQ
#define CONFIG_ESP32_XTAL_FREQ ESP32_XTAL_FREQ
#define CONFIG_ESP32_XTAL_FREQ 0
#endif

#define CONFIG_ESP32_RTC_XTAL_BOOTSTRAP_CYCLES 100
#define CONFIG_ESP32_RTC_CLK_CAL_CYCLES 1024
#define CONFIG_ESP32_RTC_CLK_CAL_CYCLES (8 * 1024)

/**
* System specific configuration (DO NOT CHANGE)
Expand Down

0 comments on commit 57db6b7

Please sign in to comment.