Search found 17 matches

by themadsens
Sun Apr 07, 2019 5:35 pm
Forum: ESP-IDF
Topic: Splitting ESP32 app over multiple partitions
Replies: 4
Views: 2157

Re: Splitting ESP32 app over multiple partitions

Just saw this .. Thanks for your reply :-) We ended up writing our APP layer in Lua which lives in SPIFFS files. This way we can achieve much more granular OTA updates and smaller sizes (besides writing highlevel stuff in Lua is just so much nicer :-) Anyway regarding your bullets: The "system" part...
by themadsens
Mon Mar 25, 2019 7:16 pm
Forum: ESP-IDF
Topic: [SOLVED] Non Volatile RAM that survives resets
Replies: 8
Views: 6804

Re: [SOLVED] Non Volatile RAM that survives resets

Thanks a million! This saved my day!!
by themadsens
Wed Feb 06, 2019 2:56 pm
Forum: ESP-IDF
Topic: Splitting ESP32 app over multiple partitions
Replies: 4
Views: 2157

Re: Splitting ESP32 app over multiple partitions

Answering myself .. Found the solution: Do it the same way entrypoints from the internal ROM. Ie. w. PROVIDE() in .ld files. Fi. looking at tzset: > ag tzset esp-idf/components/newlib/include/time.h 82:_VOID _EXFUN(tzset, (_VOID)); 83:_VOID _EXFUN(_tzset_r, (struct _reent *)); esp-idf/components/esp...
by themadsens
Wed Feb 06, 2019 2:46 pm
Forum: Hardware
Topic: SPI Memory selection
Replies: 9
Views: 11409

Re: SPI Memory selection

Knock, knock ..
An offical stance on this would be really nice .. :D
by themadsens
Mon Oct 01, 2018 6:41 pm
Forum: ESP-IDF
Topic: Partitioning heap size vs static ram
Replies: 6
Views: 3713

Re: Partitioning heap size vs static ram

Thanks for the reply. The plan was to set aside a big chunk of static ram for use with a custom allocator for Lua. As it turns out it is easier to just add this static chunk to the heap like so: uint8_t APPLuaHeapBuf[50 * 1024]; ... heap_caps_add_region((intptr_t) APPLuaHeapBuf, (intptr_t) (APPLuaHe...
by themadsens
Fri Sep 21, 2018 1:45 pm
Forum: ESP-IDF
Topic: Partitioning heap size vs static ram
Replies: 6
Views: 3713

Partitioning heap size vs static ram

Hello It looks like the available ram space is a roundly even split between heap and static allocations. Is there a way to increase one of these (at the cost of the other of course). Specifically, we do not need 187 KB heap space, but could do with a bit more than 180kB static allocations Cheers /Fl...
by themadsens
Wed Sep 05, 2018 7:12 pm
Forum: ESP-IDF
Topic: Splitting ESP32 app over multiple partitions
Replies: 4
Views: 2157

Splitting ESP32 app over multiple partitions

I am contemplating using the ESP32 for a Lora appliance ie. with very low network bandwidth. However it would be nice to still be able to update the main application part over the network (OTA). For this to work I would like to compile/link the lower layers of the SW into a separate partition and th...

Go to advanced search