Merge branch 'version/v6.0.0' into 'master'

change(version): Update version to v6.0-dev

See merge request espressif/esp-idf!38889
This commit is contained in:
Ivan Grokhotkov
2025-05-12 23:56:30 +02:00
20 changed files with 306 additions and 50 deletions

View File

@ -1,4 +1,4 @@
[codespell]
skip = build,*.yuv,components/fatfs/src/*,alice.txt,*.rgb,components/wpa_supplicant/*,components/esp_wifi/*,*.pem,components/newlib/COPYING.*
skip = build,*.yuv,components/fatfs/src/*,alice.txt,*.rgb,components/wpa_supplicant/*,components/esp_wifi/*,*.pem,components/newlib/COPYING.*,docs/sphinx-known-warnings.txt
ignore-words-list = ser,dout,rsource,fram,inout,shs,ans,aci,unstall,unstalling,hart,wheight,wel,ot,fane,assertIn,registr,oen,parms
write-changes = true

View File

@ -55,9 +55,9 @@ variables:
CHECKOUT_REF_SCRIPT: "$CI_PROJECT_DIR/tools/ci/checkout_project_ref.py"
# Docker images
ESP_ENV_IMAGE: "${CI_DOCKER_REGISTRY}/esp-env-v5.5:3"
ESP_IDF_DOC_ENV_IMAGE: "${CI_DOCKER_REGISTRY}/esp-idf-doc-env-v5.5:2-1"
TARGET_TEST_ENV_IMAGE: "${CI_DOCKER_REGISTRY}/target-test-env-v5.5:2"
ESP_ENV_IMAGE: "${CI_DOCKER_REGISTRY}/esp-env-v6.0:1"
ESP_IDF_DOC_ENV_IMAGE: "${CI_DOCKER_REGISTRY}/esp-idf-doc-env-v6.0:1-1"
TARGET_TEST_ENV_IMAGE: "${CI_DOCKER_REGISTRY}/target-test-env-v6.0:1"
SONARQUBE_SCANNER_IMAGE: "${CI_DOCKER_REGISTRY}/sonarqube-scanner:5"
PRE_COMMIT_IMAGE: "${CI_DOCKER_REGISTRY}/esp-idf-pre-commit:1"
@ -70,7 +70,7 @@ variables:
CI_PYTHON_CONSTRAINT_BRANCH: ""
# Update the filename for a specific ESP-IDF release. It is used only with CI_PYTHON_CONSTRAINT_BRANCH.
CI_PYTHON_CONSTRAINT_FILE: "espidf.constraints.v5.5.txt"
CI_PYTHON_CONSTRAINT_FILE: "espidf.constraints.v6.0.txt"
# Set this variable to repository name of a Python tool you wish to install and test in the context of ESP-IDF CI.
# Keep the variable empty when not used.

View File

@ -51,7 +51,8 @@ repos:
.*.pb-c.c|
.*.yuv|
.*.rgb|
.*COPYING.*
.*COPYING.*|
docs/sphinx-known-warnings\.txt
)$
- id: end-of-file-fixer
exclude: *whitespace_excludes

View File

@ -11,9 +11,9 @@ extern "C" {
#endif
/** Major version number (X.x.x) */
#define ESP_IDF_VERSION_MAJOR 5
#define ESP_IDF_VERSION_MAJOR 6
/** Minor version number (x.X.x) */
#define ESP_IDF_VERSION_MINOR 5
#define ESP_IDF_VERSION_MINOR 0
/** Patch version number (x.x.X) */
#define ESP_IDF_VERSION_PATCH 0

View File

@ -113,7 +113,7 @@ typedef void (*esp_now_recv_cb_t)(const esp_now_recv_info_t * esp_now_info, cons
/**
* @brief Callback function of sending ESPNOW data
* @param esp_now_send_info_t Sending information for ESPNOW data
* @param tx_info Sending information for ESPNOW data
* @param status status of sending ESPNOW data (succeed or fail). This is will be removed later, since the tx_info->tx_status also works.
*/
typedef void (*esp_now_send_cb_t)(const esp_now_send_info_t *tx_info, esp_now_send_status_t status);

View File

@ -6,13 +6,293 @@
#
# Warnings in this file must be in the same overall order as the log file.
#
idf-component-manager.rst: WARNING: Badly formated string substitution: {IDF_TARGET}
esp_ble_mesh_defs.inc:line: WARNING: Invalid C++ declaration: Expected identifier in nested name. [error at 0]
^
esp_ble_mesh_defs.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 78]
union esp_ble_mesh_prov_cb_param_t::ble_mesh_provisioner_prov_output_evt_param
------------------------------------------------------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 78]
union esp_ble_mesh_prov_cb_param_t::ble_mesh_provisioner_prov_output_evt_param
------------------------------------------------------------------------------^
esp_ble_mesh_defs.inc:line: WARNING: Duplicate C++ declaration, also defined at api-reference/bluetooth/esp-ble-mesh:line.
Declaration is '.. cpp:member:: uint16_t model_id'.
esp_ble_mesh_defs.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 24]
union esp_ble_mesh_model
------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 24]
union esp_ble_mesh_model
------------------------^
esp_ble_mesh_defs.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 34]
union esp_ble_mesh_device_delete_t
----------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 34]
union esp_ble_mesh_device_delete_t
----------------------------------^
esp_ble_mesh_defs.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 35]
union esp_ble_mesh_prov_data_info_t
-----------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 35]
union esp_ble_mesh_prov_data_info_t
-----------------------------------^
esp_ble_mesh_df_model_api.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 41]
union esp_ble_mesh_forwarding_table_add_t
-----------------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 41]
union esp_ble_mesh_forwarding_table_add_t
-----------------------------------------^
esp_ble_mesh_df_model_api.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 39]
union esp_ble_mesh_df_client_cb_param_t
---------------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 39]
union esp_ble_mesh_df_client_cb_param_t
---------------------------------------^
esp_ble_mesh_brc_model_api.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_brc_client_cb_param_t
----------------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_brc_client_cb_param_t
----------------------------------------^
esp_ble_mesh_prb_model_api.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_prb_client_cb_param_t
----------------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_prb_client_cb_param_t
----------------------------------------^
esp_ble_mesh_odp_model_api.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_odp_client_cb_param_t
----------------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_odp_client_cb_param_t
----------------------------------------^
esp_ble_mesh_sar_model_api.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_sar_client_cb_param_t
----------------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_sar_client_cb_param_t
----------------------------------------^
esp_ble_mesh_srpl_model_api.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 41]
union esp_ble_mesh_srpl_client_cb_param_t
-----------------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 41]
union esp_ble_mesh_srpl_client_cb_param_t
-----------------------------------------^
esp_ble_mesh_agg_model_api.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_agg_client_cb_param_t
----------------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_agg_client_cb_param_t
----------------------------------------^
esp_ble_mesh_agg_model_api.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_agg_server_cb_param_t
----------------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_agg_server_cb_param_t
----------------------------------------^
esp_ble_mesh_lcd_model_api.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_lcd_client_cb_param_t
----------------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_lcd_client_cb_param_t
----------------------------------------^
esp_ble_mesh_cm_data_api.inc:line: WARNING: Duplicate C++ declaration, also defined at api-reference/bluetooth/esp-ble-mesh:line.
Declaration is '.. cpp:member:: int8_t element_offset'.
esp_ble_mesh_cm_data_api.inc:line: WARNING: Duplicate C++ declaration, also defined at api-reference/bluetooth/esp-ble-mesh:line.
Declaration is '.. cpp:member:: int8_t model_item_idx'.
esp_ble_mesh_cm_data_api.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_extended_model_item_t
----------------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 40]
union esp_ble_mesh_extended_model_item_t
----------------------------------------^
esp_ble_mesh_cm_data_api.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 34]
union esp_ble_mesh_metadata_item_t
----------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 34]
union esp_ble_mesh_metadata_item_t
----------------------------------^
ecdsa_alt.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 25]
union esp_ecdsa_pk_conf_t
-------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 25]
union esp_ecdsa_pk_conf_t
-------------------------^
esp_cam_ctlr_csi.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 32]
struct esp_cam_ctlr_csi_config_t
--------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 32]
struct esp_cam_ctlr_csi_config_t
--------------------------------^
isp_types.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 32]
struct isp_demosaic_grad_ratio_t
--------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 32]
struct isp_demosaic_grad_ratio_t
--------------------------------^
isp_types.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 33]
struct isp_sharpen_h_freq_coeff_t
---------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 33]
struct isp_sharpen_h_freq_coeff_t
---------------------------------^
isp_types.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 31]
struct isp_sharpen_m_freq_coeff
-------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 31]
struct isp_sharpen_m_freq_coeff
-------------------------------^
isp_types.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 24]
struct isp_hist_weight_t
------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 24]
struct isp_hist_weight_t
------------------------^
isp_types.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 23]
struct isp_hist_coeff_t
-----------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 23]
struct isp_hist_coeff_t
-----------------------^
isp_types.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 27]
struct isp_color_contrast_t
---------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 27]
struct isp_color_contrast_t
---------------------------^
isp_types.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 29]
struct isp_color_saturation_t
-----------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 29]
struct isp_color_saturation_t
-----------------------------^
isp_types.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 21]
struct isp_lsc_gain_t
---------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 21]
struct isp_lsc_gain_t
---------------------^
jpeg_types.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 32]
struct jpeg_huffman_table_info_t
--------------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 32]
struct jpeg_huffman_table_info_t
--------------------------------^
rmt_types.inc:line: WARNING: Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected identifier in nested name. [error at 24]
struct rmt_symbol_word_t
------------------------^
If declarator-id:
Invalid C++ declaration: Expected identifier in nested name. [error at 24]
struct rmt_symbol_word_t
------------------------^
mqtt_client.inc:line: WARNING: Duplicate C++ declaration, also defined at api-reference/protocols/mqtt:line.
Declaration is '.. cpp:type:: struct esp_mqtt_event_t esp_mqtt_event_t'.
mqtt_client.inc:line: WARNING: Duplicate C++ declaration, also defined at api-reference/protocols/mqtt:line.
@ -27,27 +307,5 @@ mqtt_client.inc:line: WARNING: Duplicate C++ declaration, also defined at api-re
Declaration is '.. cpp:enum:: esp_mqtt_transport_t'.
mqtt_client.inc:line: WARNING: Duplicate C++ declaration, also defined at api-reference/protocols/mqtt:line.
Declaration is '.. cpp:enum:: esp_mqtt_protocol_ver_t'.
esp_heap_trace.inc:line: WARNING: Error when parsing function declaration.
If the function has no return type:
Invalid C++ declaration: Expected end of definition or ;. [error at 34]
TAILQ_ENTRY (heap_trace_record_t) tailq
----------------------------------^
If the function has a return type:
Error in declarator
If declarator-id with parameters-and-qualifiers:
Invalid C++ declaration: Expected identifier in nested name. [error at 12]
TAILQ_ENTRY (heap_trace_record_t) tailq
------------^
If parenthesis in noptr-declarator:
Error in declarator or parameters-and-qualifiers
If pointer to member declarator:
Invalid C++ declaration: Expected '::' in pointer to member (function). [error at 32]
TAILQ_ENTRY (heap_trace_record_t) tailq
--------------------------------^
If declarator-id:
Invalid C++ declaration: Expecting "(" in parameters-and-qualifiers. [error at 32]
TAILQ_ENTRY (heap_trace_record_t) tailq
--------------------------------^
esp_heap_trace.inc:line: WARNING: Duplicate C++ declaration, also defined at api-reference/system/heap_debug:line.
Declaration is '.. cpp:type:: struct heap_trace_record_t heap_trace_record_t'.

View File

@ -9,5 +9,3 @@ dependencies:
path: ${IDF_PATH}/examples/protocols/http_server/captive_portal/components/dns_server
ethernet_init:
path: ${IDF_PATH}/examples/ethernet/basic/components/ethernet_init
idf: "^5.0"

View File

@ -1,6 +1,5 @@
## IDF Component Manager Manifest File
dependencies:
idf: "^5.0"
espressif/esp_codec_dev: ^1.3.4
i2s_examples_common:
path: ${IDF_PATH}/examples/peripherals/i2s/i2s_examples_common

View File

@ -1,4 +1,3 @@
## IDF Component Manager Manifest File
dependencies:
espressif/esp_tinyusb: "^1.2"
idf: "^5.0"

View File

@ -1,4 +1,3 @@
## IDF Component Manager Manifest File
dependencies:
espressif/esp_tinyusb: "^1"
idf: "^5.0"

View File

@ -1,4 +1,3 @@
## IDF Component Manager Manifest File
dependencies:
espressif/esp_tinyusb: "^1.1"
idf: "^5.0"

View File

@ -1,4 +1,3 @@
## IDF Component Manager Manifest File
dependencies:
espressif/esp_tinyusb: "^1.1"
idf: "^5.0"

View File

@ -1,4 +1,3 @@
## IDF Component Manager Manifest File
dependencies:
espressif/esp_tinyusb: "^1.4.2"
idf: "^5.0"

View File

@ -2,4 +2,3 @@
dependencies:
espressif/esp_tinyusb:
version: "^1.3.0"
idf: "^5.0"

View File

@ -1,4 +1,3 @@
## IDF Component Manager Manifest File
dependencies:
espressif/esp_tinyusb: "^1"
idf: "^5.0"

View File

@ -193,6 +193,10 @@ examples/protocols/mqtt/ssl_psk:
<<: *mqtt_dependencies
examples/protocols/mqtt/tcp:
<<: *mqtt_dependencies
disable+:
- if: IDF_TARGET in ["esp32p4", "esp32h2"]
temporary: true
reason: need to update esp_wifi_remote component to support idf-v6.0
disable_test:
- if: IDF_TARGET != "esp32"
reason: only test on esp32

View File

@ -1,5 +1,5 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- |
# ESP-MQTT sample application
(See the README.md file in the upper level 'examples' directory for more information about examples.)

View File

@ -36,6 +36,9 @@ examples/wifi/iperf:
disable:
- if: (SOC_WIFI_SUPPORTED != 1) and (SOC_WIRELESS_HOST_SUPPORTED != 1)
- if: (IDF_TARGET == "esp32p4") and CONFIG_NAME in ["defaults", "99"]
- if: IDF_TARGET in ["esp32p4", "esp32h2"]
temporary: true
reason: need to update esp_wifi_remote component to support idf-v6.0
disable_test:
- if: IDF_TARGET not in ["esp32"]
temporary: true

View File

@ -1,5 +1,5 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | -------- |
# Iperf Example

View File

@ -1,5 +1,5 @@
set(IDF_VERSION_MAJOR 5)
set(IDF_VERSION_MINOR 5)
set(IDF_VERSION_MAJOR 6)
set(IDF_VERSION_MINOR 0)
set(IDF_VERSION_PATCH 0)
set(ENV{IDF_VERSION} "${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}.${IDF_VERSION_PATCH}")