Search found 4 matches

by spacewrench
Wed Feb 02, 2022 5:47 pm
Forum: ESP-IDF
Topic: API to map / call one flash partition from another partition?
Replies: 3
Views: 2985

Re: API to map / call one flash partition from another partition?

Interesting, thanks! I tried just printing a function address from the Factory code, then calling that address from OTA code, and it didn't work at all, but that must be because the OTA code was mmap'd at the time. It sounds like I'd have to implement all the DLL-like code: jump tables, data indirec...
by spacewrench
Tue Feb 01, 2022 3:35 pm
Forum: ESP-IDF
Topic: API to map / call one flash partition from another partition?
Replies: 3
Views: 2985

API to map / call one flash partition from another partition?

Is there an ESP-IDF facility for mapping executable code from a flash partition? For example, suppose I have an OTA setup: factory / OTA-1 / OTA-2. My factory image uploads new code, so the ESP32 is running from OTA-1. Can OTA-1 code map Factory code and call functions from there? I imagine it would...
by spacewrench
Sun Dec 26, 2021 6:39 pm
Forum: General Discussion
Topic: Help w/ build system on examples/system/ulp_riscv/gpio
Replies: 2
Views: 4052

Help w/ build system on examples/system/ulp_riscv/gpio

I'm using esp-idf (origin/master) on Linux and have been able to compile & run many of the examples. However, I can't get the ULP + GPIO example to build correctly. The problem is difficult to trace through the build system...if anyone has figured this out, could you let me know what you did? I trac...