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 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) +