From 46a948dafac74a0f1f3153ebc9eea772fb29829c Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Thu, 29 Nov 2018 20:18:57 +0800 Subject: [PATCH 1/2] app_trace: require timer driver to be in IRAM Closes https://github.com/espressif/esp-idf/issues/2760 --- components/app_trace/linker.lf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/app_trace/linker.lf b/components/app_trace/linker.lf index d61532411..5494afc00 100644 --- a/components/app_trace/linker.lf +++ b/components/app_trace/linker.lf @@ -3,3 +3,10 @@ archive: libapp_trace.a entries: * (noflash) +[mapping] +archive: libdriver.a +entries: + : SYSVIEW_TS_SOURCE_TIMER_00 = y || SYSVIEW_TS_SOURCE_TIMER_01 = y + || SYSVIEW_TS_SOURCE_TIMER_10 = y || SYSVIEW_TS_SOURCE_TIMER_11 = y + timer (noflash) + From ba844caa8a8872b613ce4168a4e92d447fba4723 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Fri, 30 Nov 2018 11:00:52 +0800 Subject: [PATCH 2/2] app_trace: fix linker fragment not included in Make build --- components/app_trace/component.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/app_trace/component.mk b/components/app_trace/component.mk index bfe77da43..384a04a76 100644 --- a/components/app_trace/component.mk +++ b/components/app_trace/component.mk @@ -26,6 +26,6 @@ COMPONENT_SRCDIRS += \ sys_view/esp32 else COMPONENT_SRCDIRS += gcov +endif COMPONENT_ADD_LDFRAGMENTS += linker.lf -endif