Search found 44 matches

by marhc_seven
Thu Nov 19, 2015 12:00 pm
Forum: ESP8266 SDK
Topic: how to config the spiffs and put a html file in the spi flash?
Replies: 4
Views: 8067

Re: how to config the spiffs and put a html file in the spi flash?

hi i am change the parameter, as like this // spiffs file system size #define SPIFFS_FLASH_SIZE (256*1024) //512 KB // spiffs file system offset in emulated spi flash #define SPIFFS_PHYS_ADDR (592*1024) //512KB #define SECTOR_SIZE 4096 //4KB #define PHYS_ERASE_BLOCK SECTOR_SIZE//(SECTOR_SIZE*16) //6...
by marhc_seven
Wed Nov 18, 2015 11:53 am
Forum: ESP8266 SDK
Topic: how to config the spiffs and put a html file in the spi flash?
Replies: 4
Views: 8067

Re: how to config the spiffs and put a html file in the spi flash?

thank you very very much! i will follow your recomment 。 but as your reply , i have som questions,i am looking forward your help . Q1: #define SPIFFS_CFG_PHYS_SZ(ignore) (1024*1024*2) ====》 2MB is this means the spiffs file system size or the actual flash IC capacity ? (eg. W25X80 means this paramet...
by marhc_seven
Tue Nov 17, 2015 2:21 pm
Forum: ESP8266 SDK
Topic: how to config the spiffs and put a html file in the spi flash?
Replies: 4
Views: 8067

how to config the spiffs and put a html file in the spi flash?

hi all. I am using RTOS SDK which supply spiffs.h there are some parameters should be configed before we using spiffs struct esp_spiffs_config { uint32 phys_size; /**< physical size of the SPI Flash */ uint32 phys_addr; /**< physical offset in spi flash used for spiffs, must be on block boundary */ ...
by marhc_seven
Mon Nov 16, 2015 4:51 pm
Forum: ESP8266 SDK
Topic: "Fatal exception" and do not find the location
Replies: 0
Views: 1463

"Fatal exception" and do not find the location

hi i am using RTOS SDK for design a Http sever。 when running the code , it turns an error like below: Fatal exception (28): epc1=0x4022514d epc2=0x00000000 epc3=0x40105d08 epcvaddr=0x00000000 depc=0x00000000 rtn_add=0x4022514b ? ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x40100000, len 25992,...
by marhc_seven
Sat Nov 14, 2015 3:23 pm
Forum: ESP8266 SDK
Topic: RTOS_SDK V1.3 do not fit my code any more
Replies: 14
Views: 14885

Re: RTOS_SDK V1.3 do not fit my code any more

Here is what I use in my app: MEMORY { dport0_0_seg : org = 0x3FF00000, len = 0x10 dram0_0_seg : org = 0x3FFE8000, len = 0x14000 iram1_0_seg : org = 0x40100000, len = 0x8000 irom0_0_seg : org = 0x40210000, len = 0x7C000 } Of course, this means that I have to load my code into 0x10000 in flash as op...
by marhc_seven
Sat Nov 14, 2015 11:49 am
Forum: ESP8266 SDK
Topic: does ESP8266 supply stroul strncasecmp() and stroul ()?
Replies: 8
Views: 4758

Re: does ESP8266 supply stroul strncasecmp() and stroul ()?

howdy thank you for your help。 strncasscmp () and stroul() seems working now 。 then when there is warning about strcasecmp() warning : implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] and i found the esp_libc.h, and i found there is nothing declaration about this funct...
by marhc_seven
Fri Nov 13, 2015 7:42 pm
Forum: ESP8266 SDK
Topic: what is this error ?
Replies: 1
Views: 2358

what is this error ?

hi all when i compliles the ESP8266 RTOS SDK. there is a error. 1> c:/sysgcc/esp8266/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: Debug/EmbHttp.elf section `.irom0.text' will not fit in region `irom0_0_seg' 1> c:/sysgcc/esp8266/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/...
by marhc_seven
Fri Nov 13, 2015 10:40 am
Forum: ESP8266 SDK
Topic: does ESP8266 supply stroul strncasecmp() and stroul ()?
Replies: 8
Views: 4758

Re: does ESP8266 supply stroul strncasecmp() and stroul ()?

I think the trick here is to realize that the function called strncasecmp() and stroul() are speced out in posix: http://pubs.opengroup.org/onlinepubs/009695399/functions/strcasecmp.html http://pubs.opengroup.org/onlinepubs/009695399/functions/strtoul.html Which means that we fully understand their...
by marhc_seven
Fri Nov 13, 2015 9:22 am
Forum: ESP8266 SDK
Topic: does ESP8266 supply stroul strncasecmp() and stroul ()?
Replies: 8
Views: 4758

Re: does ESP8266 supply stroul strncasecmp() and stroul ()?

Yeah。

you are right , that is esay for the skilled one。


but i am not , just tring !!!
by marhc_seven
Thu Nov 12, 2015 7:17 pm
Forum: ESP8266 SDK
Topic: does ESP8266 supply stroul strncasecmp() and stroul ()?
Replies: 8
Views: 4758

Re: does ESP8266 supply stroul strncasecmp() and stroul ()?

how could i ??? that is a question。 as i reply you before。 the source depend on other files #include "tclInt.h" #include "tclPort.h" #include <ansidecl.h> and as we know lowly ESP8266 do not supply those files~~~ :( :( :( :( :( :( :( :( :( :( :( :( :( :( :x :x :x :x :x :x :x :x :...

Go to advanced search