Skip to content

Commit ea8462e

Browse files
committed
cpu/esp32/periph: migration to ESP-IDF v5.4
1 parent 6083a01 commit ea8462e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cpu/esp32/include/periph_cpu_esp32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extern "C" {
2525
#endif
2626

2727
/** Mapping configured ESP32 default clock to CLOCK_CORECLOCK define */
28-
#define CLOCK_CORECLOCK (1000000UL * CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ)
28+
#define CLOCK_CORECLOCK (1000000UL * CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ)
2929

3030
/**
3131
* @brief CPU cycles per busy wait loop

cpu/esp32/include/periph_cpu_esp32c3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extern "C" {
2525
#endif
2626

2727
/** Mapping configured ESP32-C3 default clock to CLOCK_CORECLOCK define */
28-
#define CLOCK_CORECLOCK (1000000UL * CONFIG_ESP32C3_DEFAULT_CPU_FREQ_MHZ)
28+
#define CLOCK_CORECLOCK (1000000UL * CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ)
2929

3030
/**
3131
* @brief CPU cycles per busy wait loop

cpu/esp32/include/periph_cpu_esp32s2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extern "C" {
2525
#endif
2626

2727
/** Mapping configured ESP32-S2 default clock to CLOCK_CORECLOCK define */
28-
#define CLOCK_CORECLOCK (1000000UL * CONFIG_ESP32S2_DEFAULT_CPU_FREQ_MHZ)
28+
#define CLOCK_CORECLOCK (1000000UL * CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ)
2929

3030
/**
3131
* @brief CPU cycles per busy wait loop

cpu/esp32/include/periph_cpu_esp32s3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extern "C" {
2323
#endif
2424

2525
/** Mapping configured ESP32-S3 default clock to CLOCK_CORECLOCK define */
26-
#define CLOCK_CORECLOCK (1000000UL * CONFIG_ESP32S3_DEFAULT_CPU_FREQ_MHZ)
26+
#define CLOCK_CORECLOCK (1000000UL * CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ)
2727

2828
/**
2929
* @brief CPU cycles per busy wait loop

0 commit comments

Comments
 (0)