Skip to content

Commit 422d24b

Browse files
committed
Update IDF libs
1 parent a83dd5f commit 422d24b

40 files changed

+16
-6
lines changed

Diff for: tools/sdk/bin/bootloader.bin

128 Bytes
Binary file not shown.

Diff for: tools/sdk/include/app_update/esp_ota_ops.h

+9-4
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,16 @@ esp_err_t esp_ota_write(esp_ota_handle_t handle, const void* data, size_t size);
7373
/**
7474
* @brief Finish the update and validate written data
7575
*
76-
* @param handle Handle obtained from esp_ota_begin
76+
* @param handle Handle obtained from esp_ota_begin.
7777
*
78-
* @return:
79-
* - ESP_OK: if validate ota image pass
80-
* - ESP_ERR_OTA_VALIDATE_FAILED: validate the ota image is invalid
78+
* @note After calling esp_ota_end(), the handle is no longer valid and any memory associated with it is freed (regardless of result).
79+
*
80+
* @return:
81+
* - ESP_OK: Newly written OTA app image is valid.
82+
* - ESP_ERR_NOT_FOUND: OTA handle was not found.
83+
* - ESP_ERR_INVALID_ARG: Handle was never written to.
84+
* - ESP_ERR_OTA_VALIDATE_FAILED: OTA image is invalid (either not a valid app image, or - if secure boot is enabled - signature failed to verify.)
85+
* - ESP_ERR_INVALID_STATE: If flash encryption is enabled, this result indicates an internal error writing the final encrypted bytes to flash.
8186
*/
8287
esp_err_t esp_ota_end(esp_ota_handle_t handle);
8388

Diff for: tools/sdk/include/bluedroid/blufi_int.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ typedef struct {
3333
BD_ADDR remote_bda;
3434
UINT32 trans_id;
3535
UINT8 congest;
36+
UINT16 frag_size;
3637
#define BLUFI_PREPAIR_BUF_MAX_SIZE 1024
3738
uint8_t *prepare_buf;
3839
int prepare_len;
@@ -160,7 +161,9 @@ typedef struct blufi_frag_hdr blufi_frag_hdr_t;
160161
#define BLUFI_FC_IS_REQ_ACK(fc) ((fc) & BLUFI_FC_REQ_ACK_MASK)
161162
#define BLUFI_FC_IS_FRAG(fc) ((fc) & BLUFI_FC_FRAG_MASK)
162163

163-
#define BLUFI_FRAG_DATA_MAX_LEN 50
164+
/* BLUFI HEADER + TOTAL(REMAIN) LENGTH + CRC + L2CAP RESERVED */
165+
#define BLUFI_MTU_RESERVED_SIZE (sizeof(struct blufi_hdr) + 2 + 2 + 3)
166+
#define BLUFI_FRAG_DATA_DEFAULT_LEN (GATT_DEF_BLE_MTU_SIZE - BLUFI_MTU_RESERVED_SIZE)
164167

165168
//function declare
166169
void btc_blufi_protocol_handler(uint8_t type, uint8_t *data, int len);

Diff for: tools/sdk/include/bluedroid/hci_packet_factory.h

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ typedef struct {
4040
BT_HDR *(*make_ble_read_local_supported_features)(void);
4141
BT_HDR *(*make_ble_read_resolving_list_size)(void);
4242
BT_HDR *(*make_ble_read_suggested_default_data_length)(void);
43+
BT_HDR *(*make_ble_write_suggested_default_data_length)(uint16_t SuggestedMaxTxOctets, uint16_t SuggestedMaxTxTime);
4344
BT_HDR *(*make_ble_set_event_mask)(const bt_event_mask_t *event_mask);
4445
} hci_packet_factory_t;
4546

Diff for: tools/sdk/include/ethernet/esp_eth.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ typedef void (*eth_phy_func)(void);
8080
typedef esp_err_t (*eth_tcpip_input_func)(void *buffer, uint16_t len, void *eb);
8181
typedef void (*eth_gpio_config_func)(void);
8282
typedef bool (*eth_phy_get_partner_pause_enable_func)(void);
83-
83+
typedef void (*eth_phy_power_enable_func)(bool enable);
8484

8585
/**
8686
* @brief ethernet configuration
@@ -98,6 +98,7 @@ typedef struct {
9898
eth_gpio_config_func gpio_config; /*!< gpio config func */
9999
bool flow_ctrl_enable; /*!< flag of flow ctrl enable */
100100
eth_phy_get_partner_pause_enable_func phy_get_partner_pause_enable; /*!< get partner pause enable */
101+
eth_phy_power_enable_func phy_power_enable; /*!< enable or disable phy power */
101102

102103
} eth_config_t;
103104

Diff for: tools/sdk/lib/libapp_update.a

1.25 KB
Binary file not shown.

Diff for: tools/sdk/lib/libbootloader_support.a

1.72 KB
Binary file not shown.

Diff for: tools/sdk/lib/libbt.a

2.52 KB
Binary file not shown.

Diff for: tools/sdk/lib/libcoap.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libcoexist.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libcore.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libcxx.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libdriver.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libesp32.a

-368 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libethernet.a

764 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libexpat.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libfatfs.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libfreertos.a

168 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libjson.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/liblog.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/liblwip.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libmbedtls.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libmdns.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libmicro-ecc.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libnet80211.a

312 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libnewlib.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libnghttp.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libnvs_flash.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libopenssl.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libpp.a

388 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libsdmmc.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libspi_flash.a

3.96 KB
Binary file not shown.

Diff for: tools/sdk/lib/libtcpip_adapter.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libulp.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libvfs.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libwpa.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libwpa2.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libwpa_supplicant.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libwps.a

0 Bytes
Binary file not shown.

Diff for: tools/sdk/lib/libxtensa-debug-module.a

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)