1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

Merge pull request #13059 from gschorcht/cpu/esp32/fix_xtal_freq

cpu/esp32: activate automatic XTAL detection
This commit is contained in:
benpicco 2020-01-31 08:36:28 +01:00 committed by GitHub
commit 57db6b7313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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)