1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-03 07:02:28 +03:00

Update SDK to 1.5.4 (#2138)

This commit is contained in:
Ivan Grokhotkov 2016-06-23 18:39:40 +08:00
parent 1e7e5d4e96
commit 93d627a61d
13 changed files with 35 additions and 5 deletions

View File

@ -1,3 +1,29 @@
ESP8266_NONOS_SDK_V1.5.4_16_05_20 Release Note
----------------------------------------------
Optimization:
1. Updated libphy.a to version 972.
2. Updated libpp.a to version 10.1, revised issues about frequency offset and sleep mode.
3. Optimized IGMP function.
4. Optimized DNS function.
5. Optimized WPS function.
6. Optimized DHCP server function.
7. Optimized wifi_station_get_connect_status function.
8. Revised the issue that API system_adc_read and system_get_vdd33 may return wrong value.
9. Optimized API:
bool espconn_secure_ca_enable(uint8 level, uint32 flash_sector);
bool espconn_secure_cert_req_enable(uint8 level, uint32 flash_sector);
Added APIs:
1. system_adc_read_fast: ADC fast sampling.
2. wifi_fpm_auto_sleep_set_in_null_mode: set whether enter modem-sleep mode or not when WiFi is in NULL_MODE.
AT_V1.1 Release Note:
Optimization:
1. Optimized the behavior of writing Flash.
2. Optimized DHCP server function.
3. Updated command AT+SAVETRANSLINK to save domain name.
ESP8266_NONOS_SDK_V1.5.3_16_04_16 Release Note
----------------------------------------------
Optimization:

View File

@ -74,6 +74,8 @@ typedef enum {
#define ICACHE_RODATA_ATTR
#endif /* ICACHE_FLASH */
#define STORE_ATTR __attribute__((aligned(4)))
#ifndef __cplusplus
#define BOOL bool
#define TRUE true

View File

@ -512,7 +512,7 @@ sint16 espconn_secure_get_size(uint8 level);
* Returns : result true or false
*******************************************************************************/
bool espconn_secure_ca_enable(uint8 level, uint8 flash_sector );
bool espconn_secure_ca_enable(uint8 level, uint32 flash_sector );
/******************************************************************************
* FunctionName : espconn_secure_ca_disable
@ -535,7 +535,7 @@ bool espconn_secure_ca_disable(uint8 level);
* Returns : result true or false
*******************************************************************************/
bool espconn_secure_cert_req_enable(uint8 level, uint8 flash_sector );
bool espconn_secure_cert_req_enable(uint8 level, uint32 flash_sector );
/******************************************************************************
* FunctionName : espconn_secure_ca_disable

View File

@ -46,7 +46,7 @@
#ifdef USE_OPTIMIZE_PRINTF
#define os_printf(fmt, ...) do { \
static const char flash_str[] ICACHE_RODATA_ATTR __attribute__((aligned(4))) = fmt; \
static const char flash_str[] ICACHE_RODATA_ATTR STORE_ATTR = fmt; \
os_printf_plus(flash_str, ##__VA_ARGS__); \
} while(0)
#else

View File

@ -96,6 +96,7 @@ void system_uart_swap(void);
void system_uart_de_swap(void);
uint16 system_adc_read(void);
void system_adc_read_fast(uint16 *adc_addr, uint16 adc_num, uint8 adc_clk_div);
uint16 system_get_vdd33(void);
const char *system_get_sdk_version(void);
@ -255,7 +256,7 @@ int wifi_station_set_cert_key(uint8 *client_cert, int client_cert_len,
uint8 *private_key, int private_key_len,
uint8 *private_key_passwd, int private_key_passwd_len);
void wifi_station_clear_cert_key(void);
int wifi_station_set_username(unsigned char*, int);
int wifi_station_set_username(uint8 *username, int len);
void wifi_station_clear_username(void);
struct softap_config {
@ -362,6 +363,7 @@ void wifi_fpm_set_wakeup_cb(fpm_wakeup_cb cb);
sint8 wifi_fpm_do_sleep(uint32 sleep_time_in_us);
void wifi_fpm_set_sleep_type(sleep_type_t type);
sleep_type_t wifi_fpm_get_sleep_type(void);
void wifi_fpm_auto_sleep_set_in_null_mode(uint8 req);
enum {
EVENT_STAMODE_CONNECTED = 0,

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
1.5.3_16_04_18
1.5.4_16_05_20