Search found 6 matches

by ipsilondev
Wed Jan 31, 2018 4:26 pm
Forum: ESP32 Arduino
Topic: Empty project uses 80kb more ram than with esp-idf, why?
Replies: 7
Views: 9202

Re: Empty project uses 80kb more ram than with esp-idf, why?

idf_size.py Wasn't much of help really. not only on the empty idf project was giving me an incorrect total memory (170kb vs 300kb from get heap), plus, if you compile with arduino IDE, you don't get the map file to actually use it. I switched to arduino-esp32 as a component already, and i only have...
by ipsilondev
Wed Jan 31, 2018 12:53 pm
Forum: ESP32 Arduino
Topic: Empty project uses 80kb more ram than with esp-idf, why?
Replies: 7
Views: 9202

Re: Empty project uses 80kb more ram than with esp-idf, why?

Arduino libraries are precompiled so I think bt memory is always reserved and you have to release it at startup. Or maybe not since it is a link time option, but you would have to edit the sdkconfig in the arduino directory. Thanks for the tip ! but unfortunately, i wasn't able to free the memory :...
by ipsilondev
Wed Jan 31, 2018 2:59 am
Forum: ESP32 Arduino
Topic: Empty project uses 80kb more ram than with esp-idf, why?
Replies: 7
Views: 9202

Re: Empty project uses 80kb more ram than with esp-idf, why?

System_get_free_heap_size() returns all available memory that can be used as heap (i.e. can be returned from malloc()); IRAM is not part of this. No idea why Arduino takes up 80K; perhaps it configures esp-idf slightly differently (e.g. allocating the tcp/ip stack memory statically instead of dynam...
by ipsilondev
Wed Jan 31, 2018 12:53 am
Forum: ESP32 Arduino
Topic: Empty project uses 80kb more ram than with esp-idf, why?
Replies: 7
Views: 9202

Empty project uses 80kb more ram than with esp-idf, why?

Hi everyone, i have been working with my newly arrived esp32. for the purpose i'm looking to use it, i need the biggest amount of ram possible (esp32 is the cheapest cpu with the most amount of ram available in the market) so have been playing with it. on one of my trials, i just uploaded an empty p...
by ipsilondev
Fri Sep 08, 2017 3:58 pm
Forum: ESP-IDF
Topic: And again someone who has problems with esp32 and sd cards
Replies: 23
Views: 56119

Re: And again someone who has problems with esp32 and sd cards

Theoretical maximum read throughput for SD 4-line mode should be approaching 25MByte/sec, for sufficiently large read block sizes. Since ESP32 can only generate SDIO clocks which are 160MHz/n, it is impossible to generate 50MHz precisely. We use 40MHz as the highest compliant clock speed, hence the...
by ipsilondev
Thu Sep 07, 2017 3:52 pm
Forum: ESP-IDF
Topic: And again someone who has problems with esp32 and sd cards
Replies: 23
Views: 56119

Re: And again someone who has problems with esp32 and sd cards

Here is some data i got in a recent test. Test done on a 32GB Sandisk Extreme UHS-3 micro SDHC card, formatted on a PC. Connection between ESP32 and SD card is 4-line, SD mode is used. 1. FATFS filesystem read/write speed test: Wrote 4194304 bytes (block size 4096) in 1242.874ms (3.218 MB/s) Wrote ...