Update to SDK 0.9.6_b1
The open source LWIP is broken, use espressif's liblwip.a. Uses system_get_vdd33 instead of readvdd33. The espressif's sdk0.9.6 beta1 (2015.02.15) release note 1、Optimize smartconfig to version v0.8; 2、Optimize AT to version 0.22.b1; 1>、Fixed bugs; 2>、Optimize the speed of transparent transmission; 3、Optimize boot to version 1.3(b3); 1>、Fix compatibility problem of dual flash ; 4、Solve problem of the large current in deep sleep; 5、Fixed problem “check mem fail”; 6、Fixed problem of UDP socket may stop listening broadcast packet after a long time running under some special router; 7、Fixed bug related to wifi_station_scan; 8、Other optimize to make the software more reliable;
This commit is contained in:
parent
378398d41d
commit
05fe3ea9f1
|
@ -24,7 +24,6 @@ SPECIAL_MKTARGETS=$(APP_MKTARGETS)
|
|||
SUBDIRS= \
|
||||
user \
|
||||
driver \
|
||||
lwip \
|
||||
json \
|
||||
upgrade \
|
||||
platform \
|
||||
|
@ -70,7 +69,6 @@ endif
|
|||
COMPONENTS_eagle.app.v6 = \
|
||||
user/libuser.a \
|
||||
driver/libdriver.a \
|
||||
lwip/liblwip.a \
|
||||
json/libjson.a \
|
||||
upgrade/libupgrade.a \
|
||||
platform/libplatform.a \
|
||||
|
@ -101,6 +99,7 @@ LINKFLAGS_eagle.app.v6 = \
|
|||
-ljson \
|
||||
-lsmartconfig \
|
||||
-lssl \
|
||||
-llwip \
|
||||
$(DEP_LIBS_eagle.app.v6) \
|
||||
-Wl,--end-group
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
#define NODE_VERSION_MAJOR 0U
|
||||
#define NODE_VERSION_MINOR 9U
|
||||
#define NODE_VERSION_REVISION 5U
|
||||
#define NODE_VERSION_REVISION 6U
|
||||
#define NODE_VERSION_INTERNAL 0U
|
||||
|
||||
#define NODE_VERSION "NodeMCU 0.9.5"
|
||||
#define BUILD_DATE "build 20150214"
|
||||
#define NODE_VERSION "NodeMCU 0.9.6"
|
||||
#define BUILD_DATE "build 20150216"
|
||||
|
||||
// #define DEVKIT_VERSION_0_9 1 // define this only if you use NodeMCU devkit v0.9
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ static int node_chipid( lua_State* L )
|
|||
// Lua: readvdd33()
|
||||
static int node_readvdd33( lua_State* L )
|
||||
{
|
||||
uint32_t vdd33 = readvdd33();
|
||||
uint32_t vdd33 = system_get_vdd33();
|
||||
lua_pushinteger(L, vdd33);
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -53,6 +53,7 @@ typedef struct _esp_tcp {
|
|||
espconn_connect_callback connect_callback;
|
||||
espconn_reconnect_callback reconnect_callback;
|
||||
espconn_connect_callback disconnect_callback;
|
||||
espconn_connect_callback write_finish_fn;
|
||||
} esp_tcp;
|
||||
|
||||
typedef struct _esp_udp {
|
||||
|
@ -90,8 +91,10 @@ struct espconn {
|
|||
};
|
||||
|
||||
enum espconn_option{
|
||||
ESPCONN_REUSEADDR = 1,
|
||||
ESPCONN_NODELAY,
|
||||
ESPCONN_START = 0x00,
|
||||
ESPCONN_REUSEADDR = 0x01,
|
||||
ESPCONN_NODELAY = 0x02,
|
||||
ESPCONN_COPY = 0x04,
|
||||
ESPCONN_END
|
||||
};
|
||||
|
||||
|
@ -209,6 +212,18 @@ sint8 espconn_get_connection_info(struct espconn *pespconn, remot_info **pcon_in
|
|||
|
||||
sint8 espconn_regist_sentcb(struct espconn *espconn, espconn_sent_callback sent_cb);
|
||||
|
||||
/******************************************************************************
|
||||
* FunctionName : espconn_regist_sentcb
|
||||
* Description : Used to specify the function that should be called when data
|
||||
* has been successfully delivered to the remote host.
|
||||
* Parameters : espconn -- espconn to set the sent callback
|
||||
* sent_cb -- sent callback function to call for this espconn
|
||||
* when data is successfully sent
|
||||
* Returns : none
|
||||
*******************************************************************************/
|
||||
|
||||
sint8 espconn_regist_write_finish(struct espconn *espconn, espconn_connect_callback write_finish_fn);
|
||||
|
||||
/******************************************************************************
|
||||
* FunctionName : espconn_sent
|
||||
* Description : sent data for client or server
|
||||
|
|
|
@ -89,6 +89,7 @@ bool system_rtc_mem_write(uint8 des_addr, const void *src_addr, uint16 save_size
|
|||
void system_uart_swap(void);
|
||||
|
||||
uint16 system_adc_read(void);
|
||||
uint16 system_get_vdd33(void);
|
||||
|
||||
const char *system_get_sdk_version(void);
|
||||
|
||||
|
|
|
@ -71,7 +71,6 @@ SECTIONS
|
|||
_irom0_text_start = ABSOLUTE(.);
|
||||
*(.irom0.literal .irom.literal .irom.text.literal .irom0.text .irom.text)
|
||||
*(.literal.* .text.*)
|
||||
*(.rodata2.text)
|
||||
_irom0_text_end = ABSOLUTE(.);
|
||||
_flash_used_end = ABSOLUTE(.);
|
||||
} >irom0_0_seg :irom0_0_phdr
|
||||
|
|
BIN
lib/libat.a
BIN
lib/libat.a
Binary file not shown.
BIN
lib/libjson.a
BIN
lib/libjson.a
Binary file not shown.
BIN
lib/liblwip.a
BIN
lib/liblwip.a
Binary file not shown.
BIN
lib/libmain.a
BIN
lib/libmain.a
Binary file not shown.
Binary file not shown.
BIN
lib/libphy.a
BIN
lib/libphy.a
Binary file not shown.
BIN
lib/libpp.a
BIN
lib/libpp.a
Binary file not shown.
Binary file not shown.
BIN
lib/libssl.a
BIN
lib/libssl.a
Binary file not shown.
BIN
lib/libupgrade.a
BIN
lib/libupgrade.a
Binary file not shown.
BIN
lib/libwpa.a
BIN
lib/libwpa.a
Binary file not shown.
Loading…
Reference in New Issue