Skip to content

Commit 93d627a

Browse files
committed
Update SDK to 1.5.4 (#2138)
1 parent 1e7e5d4 commit 93d627a

13 files changed

+35
-5
lines changed

tools/sdk/changelog.txt

+26
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
ESP8266_NONOS_SDK_V1.5.4_16_05_20 Release Note
2+
----------------------------------------------
3+
Optimization:
4+
1. Updated libphy.a to version 972.
5+
2. Updated libpp.a to version 10.1, revised issues about frequency offset and sleep mode.
6+
3. Optimized IGMP function.
7+
4. Optimized DNS function.
8+
5. Optimized WPS function.
9+
6. Optimized DHCP server function.
10+
7. Optimized wifi_station_get_connect_status function.
11+
8. Revised the issue that API system_adc_read and system_get_vdd33 may return wrong value.
12+
9. Optimized API:
13+
bool espconn_secure_ca_enable(uint8 level, uint32 flash_sector);
14+
bool espconn_secure_cert_req_enable(uint8 level, uint32 flash_sector);
15+
16+
Added APIs:
17+
1. system_adc_read_fast: ADC fast sampling.
18+
2. wifi_fpm_auto_sleep_set_in_null_mode: set whether enter modem-sleep mode or not when WiFi is in NULL_MODE.
19+
20+
AT_V1.1 Release Note:
21+
Optimization:
22+
1. Optimized the behavior of writing Flash.
23+
2. Optimized DHCP server function.
24+
3. Updated command AT+SAVETRANSLINK to save domain name.
25+
26+
127
ESP8266_NONOS_SDK_V1.5.3_16_04_16 Release Note
228
----------------------------------------------
329
Optimization:

tools/sdk/include/c_types.h

+2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ typedef enum {
7474
#define ICACHE_RODATA_ATTR
7575
#endif /* ICACHE_FLASH */
7676

77+
#define STORE_ATTR __attribute__((aligned(4)))
78+
7779
#ifndef __cplusplus
7880
#define BOOL bool
7981
#define TRUE true

tools/sdk/include/espconn.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ sint16 espconn_secure_get_size(uint8 level);
512512
* Returns : result true or false
513513
*******************************************************************************/
514514

515-
bool espconn_secure_ca_enable(uint8 level, uint8 flash_sector );
515+
bool espconn_secure_ca_enable(uint8 level, uint32 flash_sector );
516516

517517
/******************************************************************************
518518
* FunctionName : espconn_secure_ca_disable
@@ -535,7 +535,7 @@ bool espconn_secure_ca_disable(uint8 level);
535535
* Returns : result true or false
536536
*******************************************************************************/
537537

538-
bool espconn_secure_cert_req_enable(uint8 level, uint8 flash_sector );
538+
bool espconn_secure_cert_req_enable(uint8 level, uint32 flash_sector );
539539

540540
/******************************************************************************
541541
* FunctionName : espconn_secure_ca_disable

tools/sdk/include/osapi.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
#ifdef USE_OPTIMIZE_PRINTF
4848
#define os_printf(fmt, ...) do { \
49-
static const char flash_str[] ICACHE_RODATA_ATTR __attribute__((aligned(4))) = fmt; \
49+
static const char flash_str[] ICACHE_RODATA_ATTR STORE_ATTR = fmt; \
5050
os_printf_plus(flash_str, ##__VA_ARGS__); \
5151
} while(0)
5252
#else

tools/sdk/include/user_interface.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ void system_uart_swap(void);
9696
void system_uart_de_swap(void);
9797

9898
uint16 system_adc_read(void);
99+
void system_adc_read_fast(uint16 *adc_addr, uint16 adc_num, uint8 adc_clk_div);
99100
uint16 system_get_vdd33(void);
100101

101102
const char *system_get_sdk_version(void);
@@ -255,7 +256,7 @@ int wifi_station_set_cert_key(uint8 *client_cert, int client_cert_len,
255256
uint8 *private_key, int private_key_len,
256257
uint8 *private_key_passwd, int private_key_passwd_len);
257258
void wifi_station_clear_cert_key(void);
258-
int wifi_station_set_username(unsigned char*, int);
259+
int wifi_station_set_username(uint8 *username, int len);
259260
void wifi_station_clear_username(void);
260261

261262
struct softap_config {
@@ -362,6 +363,7 @@ void wifi_fpm_set_wakeup_cb(fpm_wakeup_cb cb);
362363
sint8 wifi_fpm_do_sleep(uint32 sleep_time_in_us);
363364
void wifi_fpm_set_sleep_type(sleep_type_t type);
364365
sleep_type_t wifi_fpm_get_sleep_type(void);
366+
void wifi_fpm_auto_sleep_set_in_null_mode(uint8 req);
365367

366368
enum {
367369
EVENT_STAMODE_CONNECTED = 0,

tools/sdk/lib/libat.a

5.3 KB
Binary file not shown.

tools/sdk/lib/liblwip.a

304 Bytes
Binary file not shown.

tools/sdk/lib/libmain.a

1.78 KB
Binary file not shown.

tools/sdk/lib/libnet80211.a

354 Bytes
Binary file not shown.

tools/sdk/lib/libphy.a

-1.02 KB
Binary file not shown.

tools/sdk/lib/libpp.a

4.74 KB
Binary file not shown.

tools/sdk/lib/libssl.a

16 Bytes
Binary file not shown.

tools/sdk/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.3_16_04_18
1+
1.5.4_16_05_20

0 commit comments

Comments
 (0)