1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +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

@ -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,