ESP8266 SDK with RTOS released on github!

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

ESP8266 SDK with RTOS released on github!

Postby ESP_Faye » Fri Dec 05, 2014 6:04 pm

ESP8266 SDK with 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!
Attachments
xtensa.tar.bz2
(72.71 KiB) Downloaded 4523 times

User avatar
rudi
Posts: 197
Joined: Fri Oct 24, 2014 7:55 pm

Re: News!ESP8266 SDK with RTOS released on github!

Postby rudi » Fri Dec 05, 2014 8:22 pm

Is it Christmas already? Image
A dream - Terrific espressif! Simply heavenly! Thanks for the early Christmas gift! Image
best wishes rudi ;-)

-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

alonewolfx2
Posts: 12
Joined: Sun Oct 26, 2014 6:14 am

Re: News!ESP8266 SDK with RTOS released on github!

Postby alonewolfx2 » Sat Dec 27, 2014 4:50 pm

How can i configure SOFTAP (ssid,password) in RTOS sdk. i cant figure out. its crashing. i share code and exception in this link on esp8266.com
    http://www.esp8266.com/viewtopic.php?f=6&t=1034

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: News!ESP8266 SDK with RTOS released on github!

Postby ESP_Faye » Tue Dec 30, 2014 5:55 pm

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 !

alonewolfx2
Posts: 12
Joined: Sun Oct 26, 2014 6:14 am

Re: News!ESP8266 SDK with RTOS released on github!

Postby alonewolfx2 » Wed Dec 31, 2014 12:17 am

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?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: News!ESP8266 SDK with RTOS released on github!

Postby ESP_Faye » Wed Dec 31, 2014 9:32 am

Please try this:
Attachments
RTOS_SDK_SET_SOFTAP_CONFIG.png
RTOS_SDK_SET_SOFTAP_CONFIG.png (37.18 KiB) Viewed 57521 times

alonewolfx2
Posts: 12
Joined: Sun Oct 26, 2014 6:14 am

Re: News!ESP8266 SDK with RTOS released on github!

Postby alonewolfx2 » Wed Dec 31, 2014 6:15 pm

still its not working.
rts.PNG
rts.PNG (18.34 KiB) Viewed 57446 times

here is full log.

Code: Select all

 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

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: News!ESP8266 SDK with RTOS released on github!

Postby ESP_Faye » Sun Jan 04, 2015 2:37 pm

Sorry for this issue, memory for user_init is too small.
Please unzip the attachment, replace libmain.a and try it again.
Thanks for your interest in ESP8266 !
Attachments
libmain.zip
(69.07 KiB) Downloaded 1525 times

alonewolfx2
Posts: 12
Joined: Sun Oct 26, 2014 6:14 am

Re: News!ESP8266 SDK with RTOS released on github!

Postby alonewolfx2 » Sun Jan 04, 2015 7:26 pm

ok. It seems working now. but i tried set ssid and it's working too except one thing. What is ssid size? i saw ssid:uint8[32]. i set ssid to "espTestWifi2" and
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.

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: News!ESP8266 SDK with RTOS released on github!

Postby ESP_Faye » Mon Jan 05, 2015 10:34 am

Did you set softap_config.ssid_len ?

It is the same as non_RTOS_sdk http://bbs.espressif.com/viewtopic.php?f=5&t=53

Who is online

Users browsing this forum: Google [Bot] and 15 guests