IRQ Startup latency

go4retro
Posts: 18
Joined: Thu Jan 10, 2019 5:36 am

Re: IRQ Startup latency

Postby go4retro » Mon Jan 14, 2019 3:19 am

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

go4retro
Posts: 18
Joined: Thu Jan 10, 2019 5:36 am

Re: IRQ Startup latency

Postby go4retro » Wed Jan 16, 2019 4:49 am

bump in case someone can help...

Who is online

Users browsing this forum: zelenecul and 142 guests