ESP8266 Developer Zone The Official ESP8266 Forum 2016-07-27T20:27:58+08:00 https://bbs.espressif.com:443/feed.php?f=65&t=2464 2016-07-27T20:27:58+08:00 2016-07-27T20:27:58+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2464&p=8152#p8152 <![CDATA[Re: about latest RTOS SDK]]>
i use uart.c from example code but UART not work correctly.
please anyone help me how can i up UART and make console.

and i made code in c++ , so i changed extension of uart.c to uart.cpp , i think no any issue because of this .

please anyone help me for how to drive GPIO and UART.

regards,
valmik thakar

Statistics: Posted by valmik thakar — Wed Jul 27, 2016 8:27 pm


]]>
2016-07-26T19:29:24+08:00 2016-07-26T19:29:24+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2464&p=8141#p8141 <![CDATA[Re: about latest RTOS SDK]]> i port SDK 1.4.0 in my code and i compiled and i got error as src/uart.cpp:238:55: error: 'uart_div_modify' was not declared in this scope.

definition of uart_div_modify was not present.
as per search, i found that definition is present in libmain.a. i include libmain.a but even i got error.
can i declare function in uart.h?
is any issue occurred because of this changes.

Statistics: Posted by valmik thakar — Tue Jul 26, 2016 7:29 pm


]]>
2016-07-23T17:54:40+08:00 2016-07-23T17:54:40+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2464&p=8079#p8079 <![CDATA[Re: about latest RTOS SDK]]> but i found that code which is being compiled has all functions in flash memory using
FUNC_FLASHMEM -> __attribute__((section(".irom0.text"))),
MTD_FLASHMEM ->__attribute__((section(".irom1.text")))
TMTD_FLASHMEM -> __attribute__((section(".irom4.text")))
STC_FLASHMEM ->__attribute__((section(".irom3.text")))

one thing i found that precompile binary is more in latest SDK then previous SDK i use.

Statistics: Posted by valmik thakar — Sat Jul 23, 2016 5:54 pm


]]>
2016-07-23T17:04:05+08:00 2016-07-23T17:04:05+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2464&p=8078#p8078 <![CDATA[Re: about latest RTOS SDK]]>
Are you storing any large constant arrays such as HTML files? It seems like something is being put into RAM instead of the ROM.

Statistics: Posted by Guest — Sat Jul 23, 2016 5:04 pm


]]>
2016-07-22T21:16:36+08:00 2016-07-22T21:16:36+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2464&p=8067#p8067 <![CDATA[about latest RTOS SDK]]> i want to port latest RTOS SDK in my project.
so, please guide me how can i port it.
from git hub i got SDK but when i compiled that file i got error like,
e:/valmik/study/espwebframework-master/sdk/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106- elf/bin/ld.exe: build/app.out section `.irom1.text' will not fit in region `iram1_0_seg'
collect2.exe: error: ld returned 1 exit status.
i got this error.
please help me to port latest SDK.
and please explain me why this error occurs.

regards,
valmik thakar

Statistics: Posted by valmik thakar — Fri Jul 22, 2016 9:16 pm


]]>