Search found 132 matches

by burkulesomesh43
Mon Dec 17, 2018 5:29 am
Forum: General Discussion
Topic: Serve HTML from SPIFFS
Replies: 11
Views: 21844

Re: Serve HTML from SPIFFS

fly135 wrote:
Sun Dec 16, 2018 7:11 pm
I don't have any experience with an http server on the ESP32. But you can get a larger flash than 4MB. We have 16MB on our design. If you need more space, there may be other options out there. Not sure what would be the best approach. Maybe an SD card.
Ok. thank you for your response.
by burkulesomesh43
Sun Dec 16, 2018 5:22 pm
Forum: ESP-IDF
Topic: ESP32 resets while deleting task from another task
Replies: 11
Views: 14043

Re: ESP32 resets while deleting task from another task

Ritesh wrote:
Fri Nov 09, 2018 9:27 am
Hi,

Would you please provide you crash logs for same? Also would you please try it by adding few delays between creating both tasks?

Because, we are also deleting tasks from other tasks into our application without any issue.
the best way is to use flags to delete from other tasks
by burkulesomesh43
Sun Dec 16, 2018 7:10 am
Forum: ESP-IDF
Topic: Best way to store large objects on flash?
Replies: 23
Views: 35432

Re: Best way to store large objects on flash?

Edit your partition table so the factory and OTA partitions can fit your new binary, I'd say. If you don't have the room to store these things three-fold, you probably want to figure out some other way to store them (in the spiffs, or perhaps raw on a separate partition) yes, I can store it in spif...
by burkulesomesh43
Sun Dec 16, 2018 4:41 am
Forum: General Discussion
Topic: Serve HTML from SPIFFS
Replies: 11
Views: 21844

Re: Serve HTML from SPIFFS

is there any example available on esp idf or elsewhere? I am just confused which api's will be usefull for that. I had an issue with creating a burnable file system, which you'll need to do. This link to my issue should provide you with some answers to your question since I went over what I did in ...
by burkulesomesh43
Sat Dec 15, 2018 12:13 pm
Forum: ESP-IDF
Topic: Best way to store large objects on flash?
Replies: 23
Views: 35432

Re: Best way to store large objects on flash?

Yes, they effectively count as 'code size'. but i dont want to increase code size. I am using ota also. so my code size could not go above 1Mb. here is my partition table->> # Name, Type, SubType, Offset, Size, Flags # Note: if you change the phy_init or app partition offset, make sure to change th...
by burkulesomesh43
Sat Dec 15, 2018 10:34 am
Forum: ESP-IDF
Topic: Best way to store large objects on flash?
Replies: 23
Views: 35432

Re: Best way to store large objects on flash?

ESP_Sprite wrote:
Sat Dec 15, 2018 9:54 am
Yes there is. The entirety of rodata should be <=4MiB, so if you only want to store 350K, you're good.
Heyy ,
I have used component embed files. but my code size is increased.
How's that?
by burkulesomesh43
Sat Dec 15, 2018 10:24 am
Forum: ESP-IDF
Topic: Best way to store large objects on flash?
Replies: 23
Views: 35432

Re: Best way to store large objects on flash?

ESP_Sprite wrote:
Sat Dec 15, 2018 9:54 am
Yes there is. The entirety of rodata should be <=4MiB, so if you only want to store 350K, you're good.
Ok. thank you very much. :)
by burkulesomesh43
Sat Dec 15, 2018 4:52 am
Forum: ESP-IDF
Topic: Best way to store large objects on flash?
Replies: 23
Views: 35432

Re: Best way to store large objects on flash?

ESP_Sprite wrote:
Sat Dec 15, 2018 3:46 am
ESP32 normally doesn't have EEPROM, so it gets stored in flash, in this case as part of the application.
I read it on forum that this embedded files stored in rodata of flash.
so is there limit in flash rodata to store files, beacause I want to store 350kb of files in flash.
by burkulesomesh43
Sat Dec 15, 2018 4:44 am
Forum: General Discussion
Topic: Serve HTML from SPIFFS
Replies: 11
Views: 21844

Re: Serve HTML from SPIFFS

Hi all, I am using file system to store html code of webserver. but in my code there are some css, js file references which are runs over internet. so if network dont have internet my webserver won't see properly like bootstrap. "<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/boots...
by burkulesomesh43
Fri Dec 14, 2018 6:07 pm
Forum: General Discussion
Topic: Serve HTML from SPIFFS
Replies: 11
Views: 21844

Re: Serve HTML from SPIFFS

Hi all, I am using file system to store html code of webserver. but in my code there are some css, js file references which are runs over internet. so if network dont have internet my webserver won't see properly like bootstrap. "<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootst...