Skip to content

Commit 255c81c

Browse files
committed
IDF release/v5.1 a7b62bbcaf
1 parent 2182725 commit 255c81c

File tree

221 files changed

+730
-133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+730
-133
lines changed

esp32/bin/bootloader_dio_40m.elf

388 Bytes
Binary file not shown.

esp32/bin/bootloader_dio_80m.elf

384 Bytes
Binary file not shown.

esp32/bin/bootloader_dout_40m.elf

388 Bytes
Binary file not shown.

esp32/bin/bootloader_dout_80m.elf

384 Bytes
Binary file not shown.

esp32/bin/bootloader_qio_40m.elf

388 Bytes
Binary file not shown.

esp32/bin/bootloader_qio_80m.elf

384 Bytes
Binary file not shown.

esp32/bin/bootloader_qout_40m.elf

388 Bytes
Binary file not shown.

esp32/bin/bootloader_qout_80m.elf

384 Bytes
Binary file not shown.

esp32/dio_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,5 +1084,5 @@
10841084
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
10851085
#define CONFIG_WPA_MBEDTLS_CRYPTO CONFIG_ESP_WIFI_MBEDTLS_CRYPTO
10861086
#define CONFIG_WPA_MBEDTLS_TLS_CLIENT CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT
1087-
#define CONFIG_ARDUINO_IDF_COMMIT "f1b9af72fd"
1087+
#define CONFIG_ARDUINO_IDF_COMMIT "a7b62bbcaf"
10881088
#define CONFIG_ARDUINO_IDF_BRANCH "release/v5.1"

esp32/dout_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,5 +1084,5 @@
10841084
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
10851085
#define CONFIG_WPA_MBEDTLS_CRYPTO CONFIG_ESP_WIFI_MBEDTLS_CRYPTO
10861086
#define CONFIG_WPA_MBEDTLS_TLS_CLIENT CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT
1087-
#define CONFIG_ARDUINO_IDF_COMMIT "f1b9af72fd"
1087+
#define CONFIG_ARDUINO_IDF_COMMIT "a7b62bbcaf"
10881088
#define CONFIG_ARDUINO_IDF_BRANCH "release/v5.1"

esp32/flags/defines

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-DESP_PLATFORM -DIDF_VER=\"v5.1-210-gf1b9af72fd\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1
1+
-DESP_PLATFORM -DIDF_VER=\"v5.1-231-ga7b62bbcaf\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1

esp32/include/esp_adc/include/esp_adc/adc_cali_scheme.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ extern "C" {
2222
---------------------------------------------------------------*/
2323
typedef struct {
2424
adc_unit_t unit_id; ///< ADC unit
25+
adc_channel_t chan; ///< ADC channel, for chips with SOC_ADC_CALIB_CHAN_COMPENS_SUPPORTED, calibration can be per channel
2526
adc_atten_t atten; ///< ADC attenuation
2627
adc_bitwidth_t bitwidth; ///< ADC raw output bitwidth
2728
} adc_cali_curve_fitting_config_t;

esp32/include/esp_hw_support/include/esp_private/adc_share_hw_ctrl.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,28 @@ void adc_calc_hw_calibration_code(adc_unit_t adc_n, adc_atten_t atten);
4545
* @param atten Attenuation to use
4646
*/
4747
void adc_set_hw_calibration_code(adc_unit_t adc_n, adc_atten_t atten);
48+
49+
#if SOC_ADC_CALIB_CHAN_COMPENS_SUPPORTED
50+
/**
51+
* @brief Load the channel compensation of the ADC HW calibration from eFuse to a static array
52+
*
53+
* @param adc_n ADC unit to compensation
54+
* @param chan ADC channel to compensation
55+
* @param atten Attenuation to use
56+
*/
57+
void adc_load_hw_calibration_chan_compens(adc_unit_t adc_n, adc_channel_t chan, adc_atten_t atten);
58+
59+
/**
60+
* @brief Get the channel compensation of the ADC HW calibration from the static array
61+
* that have been loaded from eFuse
62+
*
63+
* @param adc_n ADC unit to compensation
64+
* @param chan ADC channel to compensation
65+
* @param atten Attenuation to use
66+
* @return The channel compensation
67+
*/
68+
int adc_get_hw_calibration_chan_compens(adc_unit_t adc_n, adc_channel_t chan, adc_atten_t atten);
69+
#endif // SOC_ADC_CALIB_CHAN_COMPENS_SUPPORTED
4870
#endif //#if SOC_ADC_CALIBRATION_V1_SUPPORTED
4971

5072

esp32/include/esp_hw_support/include/esp_private/esp_regdma.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ extern "C" {
2929
#define REGDMA_PHY_LINK(_pri) ((0x00 << 8) | _pri)
3030
#define REGDMA_PCR_LINK(_pri) ((0x01 << 8) | _pri)
3131
#define REGDMA_MODEMSYSCON_LINK(_pri) ((0x02 << 8) | _pri)
32+
#define REGDMA_MODEMLPCON_LINK(_pri) ((0x03 << 8) | _pri)
3233

3334
#define REGDMA_INTMTX_LINK(_pri) ((0x0d << 8) | _pri)
3435
#define REGDMA_HPSYS_LINK(_pri) ((0x0e << 8) | _pri)

esp32/include/esp_phy/include/esp_private/phy.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,18 @@ void phy_bbpll_en_usb(bool en);
128128
void phy_eco_version_sel(uint8_t chip_ver);
129129
#endif
130130

131+
#if CONFIG_ESP_PHY_IMPROVE_RX_11B
132+
/**
133+
* @brief Improve Wi-Fi receive 11b pkts when modules with high interference.
134+
*
135+
* @attention 1.This is a workaround to improve Wi-Fi receive 11b pkts for some modules using AC-DC power supply with high interference.
136+
* @attention 2.Enable this will sacrifice Wi-Fi OFDM receive performance. But to guarantee 11b receive performance serves as a bottom line in this case.
137+
*
138+
* @param enable Enable or disable.
139+
*/
140+
void phy_improve_rx_special(bool enable);
141+
#endif
142+
131143
#ifdef __cplusplus
132144
}
133145
#endif

esp32/include/hal/esp32/include/hal/efuse_ll.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,16 @@ __attribute__((always_inline)) static inline bool efuse_ll_get_disable_wafer_ver
119119
return false;
120120
}
121121

122+
__attribute__((always_inline)) static inline bool efuse_ll_get_blk_version_major(void)
123+
{
124+
return 0;
125+
}
126+
127+
__attribute__((always_inline)) static inline uint32_t efuse_ll_get_blk_version_minor(void)
128+
{
129+
return 0;
130+
}
131+
122132
__attribute__((always_inline)) static inline uint32_t efuse_ll_get_coding_scheme(void)
123133
{
124134
return EFUSE.blk0_rdata6.rd_coding_scheme;

esp32/include/hal/include/hal/efuse_hal.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ void efuse_hal_get_mac(uint8_t *mac);
2727
*/
2828
uint32_t efuse_hal_chip_revision(void);
2929

30+
/**
31+
* @brief Return block version
32+
*
33+
* @return Block version in format: Major * 100 + Minor
34+
*/
35+
uint32_t efuse_hal_blk_version(void);
36+
3037
/**
3138
* @brief Is flash encryption currently enabled in hardware?
3239
*

esp32/include/idf_test/include/esp32c6/idf_performance_target.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
#define IDF_PERFORMANCE_MAX_SPI_PER_TRANS_NO_POLLING_NO_DMA 32
2424
#define IDF_PERFORMANCE_MAX_SPI_PER_TRANS_POLLING_NO_DMA 15
2525

26-
//TODO: IDF-5312
27-
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_NO_FILTER 10
28-
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_2 10
29-
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_4 10
30-
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_8 10
31-
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_16 10
32-
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_64 10
26+
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_NO_FILTER 5
27+
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_2 5
28+
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_4 5
29+
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_8 5
30+
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_16 5
31+
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_64 5
32+
#define IDF_PERFORMANCE_MAX_ADC_ONESHOT_STD_ATTEN3 5

esp32/lib/libbootloader_support.a

0 Bytes
Binary file not shown.

esp32/lib/libdriver.a

0 Bytes
Binary file not shown.

esp32/lib/libefuse.a

4 Bytes
Binary file not shown.

esp32/lib/libesp_adc.a

284 Bytes
Binary file not shown.

esp32/lib/libesp_app_format.a

0 Bytes
Binary file not shown.

esp32/lib/libesp_hw_support.a

0 Bytes
Binary file not shown.

esp32/lib/libesp_phy.a

0 Bytes
Binary file not shown.

esp32/lib/libesp_system.a

0 Bytes
Binary file not shown.

esp32/lib/libhal.a

1.26 KB
Binary file not shown.

esp32/lib/libwpa_supplicant.a

392 Bytes
Binary file not shown.

esp32/platformio-build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@
358358

359359
CPPDEFINES=[
360360
"ESP_PLATFORM",
361-
("IDF_VER", '\\"v5.1-210-gf1b9af72fd\\"'),
361+
("IDF_VER", '\\"v5.1-231-ga7b62bbcaf\\"'),
362362
("MBEDTLS_CONFIG_FILE", '\\"mbedtls/esp_config.h\\"'),
363363
("SOC_MMU_PAGE_SIZE", 'CONFIG_MMU_PAGE_SIZE'),
364364
"UNITY_INCLUDE_CONFIG_H",

esp32/qio_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,5 +1084,5 @@
10841084
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
10851085
#define CONFIG_WPA_MBEDTLS_CRYPTO CONFIG_ESP_WIFI_MBEDTLS_CRYPTO
10861086
#define CONFIG_WPA_MBEDTLS_TLS_CLIENT CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT
1087-
#define CONFIG_ARDUINO_IDF_COMMIT "f1b9af72fd"
1087+
#define CONFIG_ARDUINO_IDF_COMMIT "a7b62bbcaf"
10881088
#define CONFIG_ARDUINO_IDF_BRANCH "release/v5.1"

esp32/qout_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,5 +1084,5 @@
10841084
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
10851085
#define CONFIG_WPA_MBEDTLS_CRYPTO CONFIG_ESP_WIFI_MBEDTLS_CRYPTO
10861086
#define CONFIG_WPA_MBEDTLS_TLS_CLIENT CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT
1087-
#define CONFIG_ARDUINO_IDF_COMMIT "f1b9af72fd"
1087+
#define CONFIG_ARDUINO_IDF_COMMIT "a7b62bbcaf"
10881088
#define CONFIG_ARDUINO_IDF_BRANCH "release/v5.1"

esp32c3/bin/bootloader_dio_40m.elf

532 Bytes
Binary file not shown.

esp32c3/bin/bootloader_dio_80m.elf

532 Bytes
Binary file not shown.

esp32c3/bin/bootloader_dout_40m.elf

532 Bytes
Binary file not shown.

esp32c3/bin/bootloader_dout_80m.elf

532 Bytes
Binary file not shown.

esp32c3/bin/bootloader_qio_40m.elf

536 Bytes
Binary file not shown.

esp32c3/bin/bootloader_qio_80m.elf

536 Bytes
Binary file not shown.

esp32c3/bin/bootloader_qout_40m.elf

536 Bytes
Binary file not shown.

esp32c3/bin/bootloader_qout_80m.elf

536 Bytes
Binary file not shown.

esp32c3/dio_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,5 +1113,5 @@
11131113
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
11141114
#define CONFIG_WPA_MBEDTLS_CRYPTO CONFIG_ESP_WIFI_MBEDTLS_CRYPTO
11151115
#define CONFIG_WPA_MBEDTLS_TLS_CLIENT CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT
1116-
#define CONFIG_ARDUINO_IDF_COMMIT "f1b9af72fd"
1116+
#define CONFIG_ARDUINO_IDF_COMMIT "a7b62bbcaf"
11171117
#define CONFIG_ARDUINO_IDF_BRANCH "release/v5.1"

esp32c3/dout_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,5 +1113,5 @@
11131113
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
11141114
#define CONFIG_WPA_MBEDTLS_CRYPTO CONFIG_ESP_WIFI_MBEDTLS_CRYPTO
11151115
#define CONFIG_WPA_MBEDTLS_TLS_CLIENT CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT
1116-
#define CONFIG_ARDUINO_IDF_COMMIT "f1b9af72fd"
1116+
#define CONFIG_ARDUINO_IDF_COMMIT "a7b62bbcaf"
11171117
#define CONFIG_ARDUINO_IDF_BRANCH "release/v5.1"

esp32c3/flags/defines

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-DESP_PLATFORM -DIDF_VER=\"v5.1-210-gf1b9af72fd\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1
1+
-DESP_PLATFORM -DIDF_VER=\"v5.1-231-ga7b62bbcaf\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1

esp32c3/include/efuse/esp32c3/include/esp_efuse_rtc_calib.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ extern "C" {
1212
#endif
1313

1414
//This is the ADC calibration value version burnt in efuse
15-
#define ESP_EFUSE_ADC_CALIB_VER 1
15+
#define ESP_EFUSE_ADC_CALIB_VER 1
16+
#define ESP_EFUSE_ADC_CALIB_VER_MIN ESP_EFUSE_ADC_CALIB_VER
17+
#define ESP_EFUSE_ADC_CALIB_VER_MAX ESP_EFUSE_ADC_CALIB_VER
1618

1719
/**
1820
* @brief Get the RTC calibration efuse version

esp32c3/include/esp_adc/include/esp_adc/adc_cali_scheme.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ extern "C" {
2222
---------------------------------------------------------------*/
2323
typedef struct {
2424
adc_unit_t unit_id; ///< ADC unit
25+
adc_channel_t chan; ///< ADC channel, for chips with SOC_ADC_CALIB_CHAN_COMPENS_SUPPORTED, calibration can be per channel
2526
adc_atten_t atten; ///< ADC attenuation
2627
adc_bitwidth_t bitwidth; ///< ADC raw output bitwidth
2728
} adc_cali_curve_fitting_config_t;

esp32c3/include/esp_hw_support/include/esp_private/adc_share_hw_ctrl.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,28 @@ void adc_calc_hw_calibration_code(adc_unit_t adc_n, adc_atten_t atten);
4545
* @param atten Attenuation to use
4646
*/
4747
void adc_set_hw_calibration_code(adc_unit_t adc_n, adc_atten_t atten);
48+
49+
#if SOC_ADC_CALIB_CHAN_COMPENS_SUPPORTED
50+
/**
51+
* @brief Load the channel compensation of the ADC HW calibration from eFuse to a static array
52+
*
53+
* @param adc_n ADC unit to compensation
54+
* @param chan ADC channel to compensation
55+
* @param atten Attenuation to use
56+
*/
57+
void adc_load_hw_calibration_chan_compens(adc_unit_t adc_n, adc_channel_t chan, adc_atten_t atten);
58+
59+
/**
60+
* @brief Get the channel compensation of the ADC HW calibration from the static array
61+
* that have been loaded from eFuse
62+
*
63+
* @param adc_n ADC unit to compensation
64+
* @param chan ADC channel to compensation
65+
* @param atten Attenuation to use
66+
* @return The channel compensation
67+
*/
68+
int adc_get_hw_calibration_chan_compens(adc_unit_t adc_n, adc_channel_t chan, adc_atten_t atten);
69+
#endif // SOC_ADC_CALIB_CHAN_COMPENS_SUPPORTED
4870
#endif //#if SOC_ADC_CALIBRATION_V1_SUPPORTED
4971

5072

esp32c3/include/esp_hw_support/include/esp_private/esp_regdma.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ extern "C" {
2929
#define REGDMA_PHY_LINK(_pri) ((0x00 << 8) | _pri)
3030
#define REGDMA_PCR_LINK(_pri) ((0x01 << 8) | _pri)
3131
#define REGDMA_MODEMSYSCON_LINK(_pri) ((0x02 << 8) | _pri)
32+
#define REGDMA_MODEMLPCON_LINK(_pri) ((0x03 << 8) | _pri)
3233

3334
#define REGDMA_INTMTX_LINK(_pri) ((0x0d << 8) | _pri)
3435
#define REGDMA_HPSYS_LINK(_pri) ((0x0e << 8) | _pri)

esp32c3/include/esp_phy/include/esp_private/phy.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,18 @@ void phy_bbpll_en_usb(bool en);
128128
void phy_eco_version_sel(uint8_t chip_ver);
129129
#endif
130130

131+
#if CONFIG_ESP_PHY_IMPROVE_RX_11B
132+
/**
133+
* @brief Improve Wi-Fi receive 11b pkts when modules with high interference.
134+
*
135+
* @attention 1.This is a workaround to improve Wi-Fi receive 11b pkts for some modules using AC-DC power supply with high interference.
136+
* @attention 2.Enable this will sacrifice Wi-Fi OFDM receive performance. But to guarantee 11b receive performance serves as a bottom line in this case.
137+
*
138+
* @param enable Enable or disable.
139+
*/
140+
void phy_improve_rx_special(bool enable);
141+
#endif
142+
131143
#ifdef __cplusplus
132144
}
133145
#endif

esp32c3/include/hal/include/hal/efuse_hal.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ void efuse_hal_get_mac(uint8_t *mac);
2727
*/
2828
uint32_t efuse_hal_chip_revision(void);
2929

30+
/**
31+
* @brief Return block version
32+
*
33+
* @return Block version in format: Major * 100 + Minor
34+
*/
35+
uint32_t efuse_hal_blk_version(void);
36+
3037
/**
3138
* @brief Is flash encryption currently enabled in hardware?
3239
*

esp32c3/include/idf_test/include/esp32c6/idf_performance_target.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
#define IDF_PERFORMANCE_MAX_SPI_PER_TRANS_NO_POLLING_NO_DMA 32
2424
#define IDF_PERFORMANCE_MAX_SPI_PER_TRANS_POLLING_NO_DMA 15
2525

26-
//TODO: IDF-5312
27-
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_NO_FILTER 10
28-
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_2 10
29-
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_4 10
30-
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_8 10
31-
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_16 10
32-
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_64 10
26+
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_NO_FILTER 5
27+
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_2 5
28+
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_4 5
29+
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_8 5
30+
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_16 5
31+
#define IDF_PERFORMANCE_MAX_ADC_CONTINUOUS_STD_ATTEN3_FILTER_64 5
32+
#define IDF_PERFORMANCE_MAX_ADC_ONESHOT_STD_ATTEN3 5

esp32c3/lib/libbootloader_support.a

0 Bytes
Binary file not shown.

esp32c3/lib/libdriver.a

0 Bytes
Binary file not shown.

esp32c3/lib/libefuse.a

52 Bytes
Binary file not shown.

esp32c3/lib/libesp_adc.a

4.81 KB
Binary file not shown.

esp32c3/lib/libesp_app_format.a

0 Bytes
Binary file not shown.

esp32c3/lib/libesp_hw_support.a

0 Bytes
Binary file not shown.

esp32c3/lib/libesp_phy.a

0 Bytes
Binary file not shown.

esp32c3/lib/libesp_rom.a

36 Bytes
Binary file not shown.

esp32c3/lib/libesp_system.a

0 Bytes
Binary file not shown.

esp32c3/lib/libesp_wifi.a

0 Bytes
Binary file not shown.

esp32c3/lib/libhal.a

2.91 KB
Binary file not shown.

esp32c3/lib/libwpa_supplicant.a

1.55 KB
Binary file not shown.

esp32c3/platformio-build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@
348348

349349
CPPDEFINES=[
350350
"ESP_PLATFORM",
351-
("IDF_VER", '\\"v5.1-210-gf1b9af72fd\\"'),
351+
("IDF_VER", '\\"v5.1-231-ga7b62bbcaf\\"'),
352352
("MBEDTLS_CONFIG_FILE", '\\"mbedtls/esp_config.h\\"'),
353353
("SOC_MMU_PAGE_SIZE", 'CONFIG_MMU_PAGE_SIZE'),
354354
"UNITY_INCLUDE_CONFIG_H",

esp32c3/qio_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,5 +1113,5 @@
11131113
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
11141114
#define CONFIG_WPA_MBEDTLS_CRYPTO CONFIG_ESP_WIFI_MBEDTLS_CRYPTO
11151115
#define CONFIG_WPA_MBEDTLS_TLS_CLIENT CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT
1116-
#define CONFIG_ARDUINO_IDF_COMMIT "f1b9af72fd"
1116+
#define CONFIG_ARDUINO_IDF_COMMIT "a7b62bbcaf"
11171117
#define CONFIG_ARDUINO_IDF_BRANCH "release/v5.1"

esp32c3/qout_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,5 +1113,5 @@
11131113
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
11141114
#define CONFIG_WPA_MBEDTLS_CRYPTO CONFIG_ESP_WIFI_MBEDTLS_CRYPTO
11151115
#define CONFIG_WPA_MBEDTLS_TLS_CLIENT CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT
1116-
#define CONFIG_ARDUINO_IDF_COMMIT "f1b9af72fd"
1116+
#define CONFIG_ARDUINO_IDF_COMMIT "a7b62bbcaf"
11171117
#define CONFIG_ARDUINO_IDF_BRANCH "release/v5.1"

esp32c6/bin/bootloader_dio_40m.elf

2.02 KB
Binary file not shown.

esp32c6/bin/bootloader_dio_80m.elf

2.02 KB
Binary file not shown.

esp32c6/bin/bootloader_qio_40m.elf

2.02 KB
Binary file not shown.

esp32c6/bin/bootloader_qio_80m.elf

2.02 KB
Binary file not shown.

esp32c6/dio_qspi/include/sdkconfig.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
7373
#define CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_LOW 611
7474
#define CONFIG_SOC_ADC_RTC_MIN_BITWIDTH 12
7575
#define CONFIG_SOC_ADC_RTC_MAX_BITWIDTH 12
76+
#define CONFIG_SOC_ADC_CALIBRATION_V1_SUPPORTED 1
77+
#define CONFIG_SOC_ADC_SELF_HW_CALI_SUPPORTED 1
78+
#define CONFIG_SOC_ADC_CALIB_CHAN_COMPENS_SUPPORTED 1
7679
#define CONFIG_SOC_ADC_TEMPERATURE_SHARE_INTR 1
7780
#define CONFIG_SOC_BROWNOUT_RESET_SUPPORTED 1
7881
#define CONFIG_SOC_SHARED_IDCACHE_SUPPORTED 1
@@ -1178,5 +1181,5 @@
11781181
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
11791182
#define CONFIG_WPA_MBEDTLS_CRYPTO CONFIG_ESP_WIFI_MBEDTLS_CRYPTO
11801183
#define CONFIG_WPA_MBEDTLS_TLS_CLIENT CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT
1181-
#define CONFIG_ARDUINO_IDF_COMMIT "f1b9af72fd"
1184+
#define CONFIG_ARDUINO_IDF_COMMIT "a7b62bbcaf"
11821185
#define CONFIG_ARDUINO_IDF_BRANCH "release/v5.1"

esp32c6/dio_qspi/libspi_flash.a

4 Bytes
Binary file not shown.

esp32c6/flags/defines

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-DESP_PLATFORM -DIDF_VER=\"v5.1-210-gf1b9af72fd\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1
1+
-DESP_PLATFORM -DIDF_VER=\"v5.1-231-ga7b62bbcaf\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1

esp32c6/include/bt/porting/nimble/include/nimble/hci_common.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,11 @@ struct ble_hci_vs_rd_static_addr_rp {
11361136
uint8_t addr[6];
11371137
} __attribute__((packed));
11381138

1139+
1140+
#if SOC_BLE_POWER_CONTROL_SUPPORTED && MYNEWT_VAL(BLE_HCI_VS)
1141+
#define BLE_HCI_OCF_VS_PCL_SET_RSSI (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x0111))
1142+
#endif
1143+
11391144
/* Command Specific Definitions */
11401145
/* --- Set controller to host flow control (OGF 0x03, OCF 0x0031) --- */
11411146
#define BLE_HCI_CTLR_TO_HOST_FC_OFF (0)

esp32c6/include/efuse/esp32c6/include/esp_efuse_rtc_calib.h

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -12,8 +12,11 @@ extern "C" {
1212
#endif
1313

1414
//This is the ADC calibration value version burnt in efuse
15-
#define ESP_EFUSE_ADC_CALIB_VER 1
16-
15+
#define ESP_EFUSE_ADC_CALIB_VER1 1
16+
#define ESP_EFUSE_ADC_CALIB_VER2 2
17+
#define ESP_EFUSE_ADC_CALIB_VER_MIN ESP_EFUSE_ADC_CALIB_VER1
18+
#define ESP_EFUSE_ADC_CALIB_VER_MAX ESP_EFUSE_ADC_CALIB_VER2
19+
#define VER2IDX(ver) (ver - 1) // Version number to index number of the array
1720
/**
1821
* @brief Get the RTC calibration efuse version
1922
*
@@ -31,18 +34,30 @@ int esp_efuse_rtc_calib_get_ver(void);
3134
*/
3235
uint32_t esp_efuse_rtc_calib_get_init_code(int version, uint32_t adc_unit, int atten);
3336

37+
/**
38+
* @brief Get the channel specific calibration compensation
39+
*
40+
* @param version Version of the stored efuse
41+
* @param adc_unit ADC unit. Not used, for compatibility. On esp32c6, for calibration v1, both ADC units use the same init code (calibrated by ADC1)
42+
* @param adc_channel ADC channel number
43+
* @param atten Attenuation of the init code
44+
* @return The channel calibration compensation value
45+
*/
46+
int esp_efuse_rtc_calib_get_chan_compens(int version, uint32_t adc_unit, uint32_t adc_channel, int atten);
47+
3448
/**
3549
* @brief Get the calibration digits stored in the efuse, and the corresponding voltage.
3650
*
3751
* @param version Version of the stored efuse
52+
* @param adc_unit ADC unit (not used on ESP32C6, for compatibility)
3853
* @param atten Attenuation to use
3954
* @param out_digi Output buffer of the digits
4055
* @param out_vol_mv Output of the voltage, in mV
4156
* @return
4257
* - ESP_ERR_INVALID_ARG: If efuse version or attenuation is invalid
4358
* - ESP_OK: if success
4459
*/
45-
esp_err_t esp_efuse_rtc_calib_get_cal_voltage(int version, int atten, uint32_t* out_digi, uint32_t* out_vol_mv);
60+
esp_err_t esp_efuse_rtc_calib_get_cal_voltage(int version, uint32_t adc_unit, int atten, uint32_t* out_digi, uint32_t* out_vol_mv);
4661

4762
/**
4863
* @brief Get the temperature sensor calibration number delta_T stored in the efuse.

0 commit comments

Comments
 (0)