Skip to content

Commit d1fd3b9

Browse files
committed
v1.1 save ram
1 parent 9d74e02 commit d1fd3b9

File tree

138 files changed

+734
-383
lines changed

Some content is hidden

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

138 files changed

+734
-383
lines changed

tools/sdk/bin/bootloader_dio_40m.bin

-176 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_dio_80m.bin

-192 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_dout_40m.bin

-176 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_dout_80m.bin

-192 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qio_40m.bin

-112 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qio_80m.bin

-112 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qout_40m.bin

-112 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qout_80m.bin

-112 Bytes
Binary file not shown.

tools/sdk/include/bootloader_support/bootloader_flash_config.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
#pragma once
1616

17+
#include "sdkconfig.h"
1718
#include "esp_image_format.h"
1819

1920
#ifdef __cplusplus
@@ -66,6 +67,20 @@ void bootloader_flash_gpio_config(const esp_image_header_t* pfhdr);
6667
*/
6768
void bootloader_flash_dummy_config(const esp_image_header_t* pfhdr);
6869

70+
/**
71+
* @brief Return the pin number used for custom SPI flash and/or SPIRAM WP pin
72+
*
73+
* Can be determined by eFuse values in most cases, or overriden in configuration
74+
*
75+
* This value is only meaningful if the other SPI flash pins are overriden via eFuse.
76+
*
77+
* This value is only meaningful if flash is set to QIO or QOUT mode, or if
78+
* SPIRAM is enabled.
79+
*
80+
* @return Pin number to use, or -1 if the default should be kept
81+
*/
82+
int bootloader_flash_get_wp_pin(void);
83+
6984
#ifdef __cplusplus
7085
}
7186
#endif

tools/sdk/include/bt/esp_gap_ble_api.h

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,15 @@ typedef struct {
390390
advertising reports for each packet received */
391391
} esp_ble_scan_params_t;
392392

393+
/// connection parameters information
394+
typedef struct {
395+
uint16_t interval; /*!< connection interval */
396+
uint16_t latency; /*!< Slave latency for the connection in number of connection events. Range: 0x0000 to 0x01F3 */
397+
uint16_t timeout; /*!< Supervision timeout for the LE Link. Range: 0x000A to 0x0C80.
398+
Mandatory Range: 0x000A to 0x0C80 Time = N * 10 msec
399+
Time Range: 100 msec to 32 seconds */
400+
} esp_gap_conn_params_t;
401+
393402
/// Connection update parameters
394403
typedef struct {
395404
esp_bd_addr_t bda; /*!< Bluetooth device address */
@@ -1257,6 +1266,20 @@ esp_err_t esp_ble_gap_disconnect(esp_bd_addr_t remote_device);
12571266
*
12581267
*/
12591268
esp_err_t esp_gap_ble_set_authorization(esp_bd_addr_t bd_addr, bool authorize);
1269+
1270+
/**
1271+
* @brief This function is called to read the connection
1272+
* parameters information of the device
1273+
*
1274+
* @param[in] bd_addr: BD address of the peer device.
1275+
* @param[out] conn_params: the connection parameters information
1276+
*
1277+
* @return - ESP_OK : success
1278+
* - other : failed
1279+
*
1280+
*/
1281+
esp_err_t esp_ble_get_current_conn_params(esp_bd_addr_t bd_addr, esp_gap_conn_params_t *conn_params);
1282+
12601283
#ifdef __cplusplus
12611284
}
12621285
#endif

0 commit comments

Comments
 (0)