ESP8266 Developer Zone The Official ESP8266 Forum 2015-02-06T17:14:51+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=67 2015-02-06T17:14:51+08:00 2015-02-06T17:14:51+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=651#p651 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]> Statistics: Posted by painkiller47 — Fri Feb 06, 2015 5:14 pm


]]>
2015-02-06T06:38:58+08:00 2015-02-06T06:38:58+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=649#p649 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]> Thank you for your good work.

Statistics: Posted by alonewolfx2 — Fri Feb 06, 2015 6:38 am


]]>
2015-01-29T21:25:18+08:00 2015-01-29T21:25:18+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=596#p596 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]> "wifi_get_ip_info" does not work as expected. It returns true without initializing the struct.
This causes dhcp_set_info to fail later on (as it depends on wifi_get_ip_info internally - check "...\third_party\udhcp\files.c" ) and DHCP does not work correctly.

Test code:
{
struct ip_info setinfo;
struct ip_info getinfo;

bool set_result;
bool get_result;

setinfo.gw.addr = ipaddr_addr( "192.168.4.128" );
setinfo.ip.addr = ipaddr_addr( "192.168.4.128" );
setinfo.netmask.addr = ipaddr_addr( "255.255.255.0" );

set_result = wifi_set_ip_info(SOFTAP_IF, &setinfo);

printf("Set returned:%d [IP:%X,GW:%X,MASK:%X]\r\n", set_result, setinfo.ip.addr, setinfo.gw.addr, setinfo.netmask.addr );

get_result = wifi_get_ip_info(SOFTAP_IF, &getinfo);

printf("Get returned:%d [IP:%X,GW:%X,MASK:%X]\r\n", get_result, getinfo.ip.addr, getinfo.gw.addr, getinfo.netmask.addr );
}

Results in:

Set returned:1 [IP:8004A8C0,GW:8004A8C0,MASK:FFFFFF]
Get returned:1 [IP:0,GW:0,MASK:0]

Otherwise, LWIP's BSD sockets seem to work nicely and system is pretty stable if only static memory is used. Using dynamic memory like it's done in the examples (zalloc,free) causes reset at some point.

Edit: It works if DHCP is configured at a later point (other thread in couple of seconds). wifi_get_ip_info then works as expected. I suppose a background thread is responsible for updating the values...

Statistics: Posted by painkiller47 — Thu Jan 29, 2015 9:25 pm


]]>
2015-01-06T10:14:40+08:00 2015-01-06T10:14:40+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=450#p450 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]> Statistics: Posted by ESP_Faye — Tue Jan 06, 2015 10:14 am


]]>
2015-01-06T02:31:43+08:00 2015-01-06T02:31:43+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=447#p447 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]> Statistics: Posted by alonewolfx2 — Tue Jan 06, 2015 2:31 am


]]>
2015-01-05T10:34:24+08:00 2015-01-05T10:34:24+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=441#p441 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]>
It is the same as non_RTOS_sdk http://bbs.espressif.com/viewtopic.php?f=5&t=53

Statistics: Posted by ESP_Faye — Mon Jan 05, 2015 10:34 am


]]>
2015-01-04T19:26:01+08:00 2015-01-04T19:26:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=435#p435 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]> i saw "espTestWif" in wireless networks. than i set ssid to "esptestwf" and i saw "estestwf" in wireless network. it seems code working fine but ssid name accept just first 9 char.

Statistics: Posted by alonewolfx2 — Sun Jan 04, 2015 7:26 pm


]]>
2015-01-04T14:37:56+08:00 2015-01-04T14:37:56+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=433#p433 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]> Please unzip the attachment, replace libmain.a and try it again.
Thanks for your interest in ESP8266 !
libmain.zip

Statistics: Posted by ESP_Faye — Sun Jan 04, 2015 2:37 pm


]]>
2014-12-31T18:15:18+08:00 2014-12-31T18:15:18+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=413#p413 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]>
rts.PNG

here is full log.

Code:

 ets Jan  8 2013,rst cause:1, boot mode:(3,7)

load 0x40100000, len 28544, room 16
tail 0
chksum 0x61
load 0x3ffe8000, len 1968, room 8
tail 8
chksum 0xac
load 0x3ffe87b0, len 6476, room 0
tail 12
chksum 0x6d
csum 0x6d
pp_task_hdl : 3fff1b78, prio:20, stack:512
ApiMsgMutex created
idle_task_hdl : 3fff35b8
tim_task_hdl : 3fff3810
xPortStartScheduler

OS SDK ver: 0.0.5 compiled @ Dec  5 2014 15:52:22
phy ver: 273, pp ver: 6

SDK version:0.0.5
mode : sta(18:fe:34:9f:17:e3) + softAP(1a:fe:34:9f:17:e3)
add if0
add if1
bcn 100
Fatal exception (9):
epc1=0x4026a80e
epc2=0x00000000
epc3=0x00000000
epcvaddr=0x37f28afe
depc=0x00000000

Statistics: Posted by alonewolfx2 — Wed Dec 31, 2014 6:15 pm


]]>
2014-12-31T09:32:24+08:00 2014-12-31T09:32:24+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=408#p408 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]>
RTOS_SDK_SET_SOFTAP_CONFIG.png

Statistics: Posted by ESP_Faye — Wed Dec 31, 2014 9:32 am


]]>
2014-12-31T00:17:56+08:00 2014-12-31T00:17:56+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=404#p404 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]>
Espressif_Faye wrote:
Please try to create a new task to do this softap set config thing..
Because memory for one task is limited..
Thanks for your interest in ESP8266 !

i tried but still its not working. Can you share sample code?

Statistics: Posted by alonewolfx2 — Wed Dec 31, 2014 12:17 am


]]>
2014-12-30T17:55:08+08:00 2014-12-30T17:55:08+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=402#p402 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]> Because memory for one task is limited.
Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Tue Dec 30, 2014 5:55 pm


]]>
2014-12-27T16:50:39+08:00 2014-12-27T16:50:39+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=373#p373 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]> http://www.esp8266.com/viewtopic.php?f=6&t=1034

Statistics: Posted by alonewolfx2 — Sat Dec 27, 2014 4:50 pm


]]>
2014-12-05T20:22:50+08:00 2014-12-05T20:22:50+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=246#p246 <![CDATA[Re: News!ESP8266 SDK with RTOS released on github!]]>
A dream - Terrific espressif! Simply heavenly! Thanks for the early Christmas gift! Image
best wishes rudi ;-)

Statistics: Posted by rudi — Fri Dec 05, 2014 8:22 pm


]]>
2014-12-05T18:04:10+08:00 2014-12-05T18:04:10+08:00 https://bbs.espressif.com:443/viewtopic.php?t=67&p=244#p244 <![CDATA[ESP8266 SDK with RTOS released on github!]]> RTOS is just released on github !
link: https://github.com/espressif
wiki: https://github.com/espressif/esp_iot_rtos_sdk/wiki

In order to compile RTOS SDK, please upzip the attachment in VM by command:
sudo tar jxvf xtensa.tar.bz2 -C /opt/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/

password: espressif

编译 RTOS SDK , 请在虚拟机下将附件中的压缩包解压到指定目录,命令如下:
sudo tar jxvf xtensa.tar.bz2 -C /opt/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/

password: espressif

Thanks for your interest in ESP8266!
xtensa.tar.bz2

Statistics: Posted by ESP_Faye — Fri Dec 05, 2014 6:04 pm


]]>