Page 2 of 2

Re: IRQ Startup latency

Posted: Mon Jan 14, 2019 3:19 am
by go4retro
ESP_igrr wrote:
Sun Jan 13, 2019 11:35 pm
You can also move any other function you call from your ISR to IRAM, such as gpio_set_level. To do this you can add a linker script fragment to your component
(https://docs.espressif.com/projects/esp ... ation.html).

Example linker.lf:

Code: Select all

[mapping]
archive: libdriver.a
entries:
    driver:gpio_set_level (noflash)
(And then also COMPONENT_ADD_LDFRAGMENTS += linker.lf in your component.mk)
I am close, but I get this error now:

ERROR: Duplicate definition of fragment 'libdriver_a' found in C:/tools/esp-idf/
components/app_trace/linker.lf

Jim

Re: IRQ Startup latency

Posted: Wed Jan 16, 2019 4:49 am
by go4retro
bump in case someone can help...