Skip to content

Commit

Permalink
IDF release/v4.4 1558b05d1c
Browse files Browse the repository at this point in the history
  • Loading branch information
me-no-dev committed Jun 26, 2024
1 parent 3da5ed1 commit 2cd254f
Show file tree
Hide file tree
Showing 206 changed files with 474 additions and 142 deletions.
8 changes: 4 additions & 4 deletions platform.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tools/platformio-build-esp32.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
"UNITY_INCLUDE_CONFIG_H",
"WITH_POSIX",
"_GNU_SOURCE",
("IDF_VER", '\\"v4.4.7-248-gc0e0af03d1-dirty\\"'),
("IDF_VER", '\\"v4.4.7-276-g1558b05d1c-dirty\\"'),
"ESP_PLATFORM",
"_POSIX_READER_WRITER_LOCKS",
"ARDUINO_ARCH_ESP32",
Expand Down
2 changes: 1 addition & 1 deletion tools/platformio-build-esp32c3.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@
"UNITY_INCLUDE_CONFIG_H",
"WITH_POSIX",
"_GNU_SOURCE",
("IDF_VER", '\\"v4.4.7-248-gc0e0af03d1-dirty\\"'),
("IDF_VER", '\\"v4.4.7-276-g1558b05d1c-dirty\\"'),
"ESP_PLATFORM",
"_POSIX_READER_WRITER_LOCKS",
"ARDUINO_ARCH_ESP32",
Expand Down
2 changes: 1 addition & 1 deletion tools/platformio-build-esp32s2.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
"UNITY_INCLUDE_CONFIG_H",
"WITH_POSIX",
"_GNU_SOURCE",
("IDF_VER", '\\"v4.4.7-248-gc0e0af03d1-dirty\\"'),
("IDF_VER", '\\"v4.4.7-276-g1558b05d1c-dirty\\"'),
"ESP_PLATFORM",
"_POSIX_READER_WRITER_LOCKS",
"ARDUINO_ARCH_ESP32",
Expand Down
2 changes: 1 addition & 1 deletion tools/platformio-build-esp32s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
"UNITY_INCLUDE_CONFIG_H",
"WITH_POSIX",
"_GNU_SOURCE",
("IDF_VER", '\\"v4.4.7-248-gc0e0af03d1-dirty\\"'),
("IDF_VER", '\\"v4.4.7-276-g1558b05d1c-dirty\\"'),
"ESP_PLATFORM",
"_POSIX_READER_WRITER_LOCKS",
"ARDUINO_ARCH_ESP32",
Expand Down
2 changes: 1 addition & 1 deletion tools/sdk/esp32/dio_qspi/include/sdkconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -846,5 +846,5 @@
#define CONFIG_ULP_COPROC_ENABLED CONFIG_ESP32_ULP_COPROC_ENABLED
#define CONFIG_ULP_COPROC_RESERVE_MEM CONFIG_ESP32_ULP_COPROC_RESERVE_MEM
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
#define CONFIG_ARDUINO_IDF_COMMIT "c0e0af03d1"
#define CONFIG_ARDUINO_IDF_COMMIT "1558b05d1c"
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"
2 changes: 1 addition & 1 deletion tools/sdk/esp32/dout_qspi/include/sdkconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -846,5 +846,5 @@
#define CONFIG_ULP_COPROC_ENABLED CONFIG_ESP32_ULP_COPROC_ENABLED
#define CONFIG_ULP_COPROC_RESERVE_MEM CONFIG_ESP32_ULP_COPROC_RESERVE_MEM
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
#define CONFIG_ARDUINO_IDF_COMMIT "c0e0af03d1"
#define CONFIG_ARDUINO_IDF_COMMIT "1558b05d1c"
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"
4 changes: 2 additions & 2 deletions tools/sdk/esp32/include/esp_littlefs/include/esp_littlefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
extern "C" {
#endif

#define ESP_LITTLEFS_VERSION_NUMBER "1.14.4"
#define ESP_LITTLEFS_VERSION_NUMBER "1.14.6"
#define ESP_LITTLEFS_VERSION_MAJOR 1
#define ESP_LITTLEFS_VERSION_MINOR 14
#define ESP_LITTLEFS_VERSION_PATCH 4
#define ESP_LITTLEFS_VERSION_PATCH 6

#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 2) && CONFIG_VFS_SUPPORT_DIR
#define ESP_LITTLEFS_ENABLE_FTRUNCATE
Expand Down
20 changes: 20 additions & 0 deletions tools/sdk/esp32/include/esp_wifi/include/esp_wifi.h
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,26 @@ esp_err_t esp_wifi_ftm_end_session(void);
*/
esp_err_t esp_wifi_ftm_resp_set_offset(int16_t offset_cm);

/**
* @brief Get FTM measurements report copied into a user provided buffer.
*
* @attention 1. To get the FTM report, user first needs to allocate a buffer of size
* (sizeof(wifi_ftm_report_entry_t) * num_entries) where the API will fill up to num_entries
* valid FTM measurements in the buffer. Total number of entries can be found in the event
* WIFI_EVENT_FTM_REPORT as ftm_report_num_entries
* @attention 2. The internal FTM report is freed upon use of this API which means the API can only be used
* once afer every FTM session initiated
* @attention 3. Passing the buffer as NULL merely frees the FTM report
*
* @param report Pointer to the buffer for receiving the FTM report
* @param num_entries Number of FTM report entries to be filled in the report
*
* @return
* - ESP_OK: succeed
* - others: failed
*/
esp_err_t esp_wifi_ftm_get_report(wifi_ftm_report_entry_t *report, uint8_t num_entries);

/**
* @brief Enable or disable 11b rate of specified interface
*
Expand Down
11 changes: 8 additions & 3 deletions tools/sdk/esp32/include/esp_wifi/include/esp_wifi_types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -582,7 +582,9 @@ typedef struct {
uint8_t resp_mac[6]; /**< MAC address of the FTM Responder */
uint8_t channel; /**< Primary channel of the FTM Responder */
uint8_t frm_count; /**< No. of FTM frames requested in terms of 4 or 8 bursts (allowed values - 0(No pref), 16, 24, 32, 64) */
uint16_t burst_period; /**< Requested time period between consecutive FTM bursts in 100's of milliseconds (0 - No pref) */
uint16_t burst_period; /**< Requested period between FTM bursts in 100's of milliseconds (allowed values 0(No pref) - 100) */
bool use_get_report_api; /**< True - Using esp_wifi_ftm_get_report to get FTM report, False - Using ftm_report_data from
WIFI_EVENT_FTM_REPORT to get FTM report */
} wifi_ftm_initiator_cfg_t;

/**
Expand Down Expand Up @@ -757,6 +759,8 @@ typedef enum {
FTM_STATUS_CONF_REJECTED, /**< Peer rejected FTM configuration in FTM Request */
FTM_STATUS_NO_RESPONSE, /**< Peer did not respond to FTM Requests */
FTM_STATUS_FAIL, /**< Unknown error during FTM exchange */
FTM_STATUS_NO_VALID_MSMT, /**< FTM session did not result in any valid measurements */
FTM_STATUS_USER_TERM, /**< User triggered termination */
} wifi_ftm_status_t;

/** Argument structure for */
Expand All @@ -777,7 +781,8 @@ typedef struct {
uint32_t rtt_raw; /**< Raw average Round-Trip-Time with peer in Nano-Seconds */
uint32_t rtt_est; /**< Estimated Round-Trip-Time with peer in Nano-Seconds */
uint32_t dist_est; /**< Estimated one-way distance in Centi-Meters */
wifi_ftm_report_entry_t *ftm_report_data; /**< Pointer to FTM Report with multiple entries, should be freed after use */
wifi_ftm_report_entry_t *ftm_report_data; /**< Pointer to FTM Report, should be freed after use. Note: Highly recommended
to use API esp_wifi_ftm_get_report to get the report instead of using this */
uint8_t ftm_report_num_entries; /**< Number of entries in the FTM Report data */
} wifi_event_ftm_report_t;

Expand Down
3 changes: 2 additions & 1 deletion tools/sdk/esp32/include/vfs/include/esp_vfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ esp_err_t esp_vfs_unregister_with_id(esp_vfs_id_t vfs_id);

/**
* Special function for registering another file descriptor for a VFS registered
* by esp_vfs_register_with_id.
* by esp_vfs_register_with_id. This function should only be used to register
* permanent file descriptors (socket fd) that are not removed after being closed.
*
* @param vfs_id VFS identificator returned by esp_vfs_register_with_id.
* @param fd The registered file descriptor will be written to this address.
Expand Down
Binary file modified tools/sdk/esp32/ld/libbtdm_app.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libapp_update.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libbt.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libcoexist.a
100644 → 100755
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libcore.a
100644 → 100755
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp32-camera.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_common.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_diagnostics.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_eth.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_event.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_hid.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_http_client.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_insights.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_littlefs.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_local_ctrl.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_netif.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_phy.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_rainmaker.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_system.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_websocket_client.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libesp_wifi.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libespnow.a
100644 → 100755
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libfreemodbus.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/liblwip.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libmdns.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libmesh.a
100644 → 100755
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libmqtt.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libnet80211.a
100644 → 100755
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libpp.a
100644 → 100755
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/librmaker_common.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/librtc_store.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libsmartconfig.a
100644 → 100755
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libtcpip_adapter.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libvfs.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libwapi.a
100644 → 100755
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libwifi_provisioning.a
Binary file not shown.
Binary file modified tools/sdk/esp32/lib/libwpa_supplicant.a
Binary file not shown.
2 changes: 1 addition & 1 deletion tools/sdk/esp32/qio_qspi/include/sdkconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -846,5 +846,5 @@
#define CONFIG_ULP_COPROC_ENABLED CONFIG_ESP32_ULP_COPROC_ENABLED
#define CONFIG_ULP_COPROC_RESERVE_MEM CONFIG_ESP32_ULP_COPROC_RESERVE_MEM
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
#define CONFIG_ARDUINO_IDF_COMMIT "c0e0af03d1"
#define CONFIG_ARDUINO_IDF_COMMIT "1558b05d1c"
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"
2 changes: 1 addition & 1 deletion tools/sdk/esp32/qout_qspi/include/sdkconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -846,5 +846,5 @@
#define CONFIG_ULP_COPROC_ENABLED CONFIG_ESP32_ULP_COPROC_ENABLED
#define CONFIG_ULP_COPROC_RESERVE_MEM CONFIG_ESP32_ULP_COPROC_RESERVE_MEM
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
#define CONFIG_ARDUINO_IDF_COMMIT "c0e0af03d1"
#define CONFIG_ARDUINO_IDF_COMMIT "1558b05d1c"
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"
2 changes: 1 addition & 1 deletion tools/sdk/esp32c3/dio_qspi/include/sdkconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -851,5 +851,5 @@
#define CONFIG_TOOLPREFIX CONFIG_SDK_TOOLPREFIX
#define CONFIG_UDP_RECVMBOX_SIZE CONFIG_LWIP_UDP_RECVMBOX_SIZE
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
#define CONFIG_ARDUINO_IDF_COMMIT "c0e0af03d1"
#define CONFIG_ARDUINO_IDF_COMMIT "1558b05d1c"
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"
2 changes: 1 addition & 1 deletion tools/sdk/esp32c3/dout_qspi/include/sdkconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -851,5 +851,5 @@
#define CONFIG_TOOLPREFIX CONFIG_SDK_TOOLPREFIX
#define CONFIG_UDP_RECVMBOX_SIZE CONFIG_LWIP_UDP_RECVMBOX_SIZE
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
#define CONFIG_ARDUINO_IDF_COMMIT "c0e0af03d1"
#define CONFIG_ARDUINO_IDF_COMMIT "1558b05d1c"
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"
4 changes: 2 additions & 2 deletions tools/sdk/esp32c3/include/esp_littlefs/include/esp_littlefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
extern "C" {
#endif

#define ESP_LITTLEFS_VERSION_NUMBER "1.14.4"
#define ESP_LITTLEFS_VERSION_NUMBER "1.14.6"
#define ESP_LITTLEFS_VERSION_MAJOR 1
#define ESP_LITTLEFS_VERSION_MINOR 14
#define ESP_LITTLEFS_VERSION_PATCH 4
#define ESP_LITTLEFS_VERSION_PATCH 6

#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 2) && CONFIG_VFS_SUPPORT_DIR
#define ESP_LITTLEFS_ENABLE_FTRUNCATE
Expand Down
20 changes: 20 additions & 0 deletions tools/sdk/esp32c3/include/esp_wifi/include/esp_wifi.h
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,26 @@ esp_err_t esp_wifi_ftm_end_session(void);
*/
esp_err_t esp_wifi_ftm_resp_set_offset(int16_t offset_cm);

/**
* @brief Get FTM measurements report copied into a user provided buffer.
*
* @attention 1. To get the FTM report, user first needs to allocate a buffer of size
* (sizeof(wifi_ftm_report_entry_t) * num_entries) where the API will fill up to num_entries
* valid FTM measurements in the buffer. Total number of entries can be found in the event
* WIFI_EVENT_FTM_REPORT as ftm_report_num_entries
* @attention 2. The internal FTM report is freed upon use of this API which means the API can only be used
* once afer every FTM session initiated
* @attention 3. Passing the buffer as NULL merely frees the FTM report
*
* @param report Pointer to the buffer for receiving the FTM report
* @param num_entries Number of FTM report entries to be filled in the report
*
* @return
* - ESP_OK: succeed
* - others: failed
*/
esp_err_t esp_wifi_ftm_get_report(wifi_ftm_report_entry_t *report, uint8_t num_entries);

/**
* @brief Enable or disable 11b rate of specified interface
*
Expand Down
11 changes: 8 additions & 3 deletions tools/sdk/esp32c3/include/esp_wifi/include/esp_wifi_types.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -582,7 +582,9 @@ typedef struct {
uint8_t resp_mac[6]; /**< MAC address of the FTM Responder */
uint8_t channel; /**< Primary channel of the FTM Responder */
uint8_t frm_count; /**< No. of FTM frames requested in terms of 4 or 8 bursts (allowed values - 0(No pref), 16, 24, 32, 64) */
uint16_t burst_period; /**< Requested time period between consecutive FTM bursts in 100's of milliseconds (0 - No pref) */
uint16_t burst_period; /**< Requested period between FTM bursts in 100's of milliseconds (allowed values 0(No pref) - 100) */
bool use_get_report_api; /**< True - Using esp_wifi_ftm_get_report to get FTM report, False - Using ftm_report_data from
WIFI_EVENT_FTM_REPORT to get FTM report */
} wifi_ftm_initiator_cfg_t;

/**
Expand Down Expand Up @@ -757,6 +759,8 @@ typedef enum {
FTM_STATUS_CONF_REJECTED, /**< Peer rejected FTM configuration in FTM Request */
FTM_STATUS_NO_RESPONSE, /**< Peer did not respond to FTM Requests */
FTM_STATUS_FAIL, /**< Unknown error during FTM exchange */
FTM_STATUS_NO_VALID_MSMT, /**< FTM session did not result in any valid measurements */
FTM_STATUS_USER_TERM, /**< User triggered termination */
} wifi_ftm_status_t;

/** Argument structure for */
Expand All @@ -777,7 +781,8 @@ typedef struct {
uint32_t rtt_raw; /**< Raw average Round-Trip-Time with peer in Nano-Seconds */
uint32_t rtt_est; /**< Estimated Round-Trip-Time with peer in Nano-Seconds */
uint32_t dist_est; /**< Estimated one-way distance in Centi-Meters */
wifi_ftm_report_entry_t *ftm_report_data; /**< Pointer to FTM Report with multiple entries, should be freed after use */
wifi_ftm_report_entry_t *ftm_report_data; /**< Pointer to FTM Report, should be freed after use. Note: Highly recommended
to use API esp_wifi_ftm_get_report to get the report instead of using this */
uint8_t ftm_report_num_entries; /**< Number of entries in the FTM Report data */
} wifi_event_ftm_report_t;

Expand Down
3 changes: 2 additions & 1 deletion tools/sdk/esp32c3/include/vfs/include/esp_vfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ esp_err_t esp_vfs_unregister_with_id(esp_vfs_id_t vfs_id);

/**
* Special function for registering another file descriptor for a VFS registered
* by esp_vfs_register_with_id.
* by esp_vfs_register_with_id. This function should only be used to register
* permanent file descriptors (socket fd) that are not removed after being closed.
*
* @param vfs_id VFS identificator returned by esp_vfs_register_with_id.
* @param fd The registered file descriptor will be written to this address.
Expand Down
Loading

0 comments on commit 2cd254f

Please sign in to comment.