# HG changeset patch # User Mychaela Falconia # Date 1589517110 0 # Node ID 4f94a09e0a6a51f403b702f7db7e3bdfabda9e8a # Parent c07376e250c10367d7f9cf10f973c49d14ba6154 ETM patches for passing link diff -r c07376e250c1 -r 4f94a09e0a6a src/cs/services/etm/etm_task.c --- a/src/cs/services/etm/etm_task.c Fri May 15 04:25:10 2020 +0000 +++ b/src/cs/services/etm/etm_task.c Fri May 15 04:31:50 2020 +0000 @@ -114,10 +114,12 @@ /* Entity registration to ETM */ /* This should be in the individual SWE init. function*/ status = etm_core_init(); +#if 0 /* FC FFS editor */ status = etm_audio_init(); #ifdef RVM_LCC_SWE status = etm_pwr_init(); #endif +#endif while (1) { diff -r c07376e250c1 -r 4f94a09e0a6a src/cs/services/etm/etm_tmcore.c --- a/src/cs/services/etm/etm_tmcore.c Fri May 15 04:25:10 2020 +0000 +++ b/src/cs/services/etm/etm_tmcore.c Fri May 15 04:31:50 2020 +0000 @@ -354,13 +354,17 @@ extern uint16 etm_task_revision; int error, fid, ffs_tm_version; volatile int revision = 0; +#if 0 /* FC FFS editor */ T_VERSION *l1s_version; +#endif fid = etm_get32(buf); tr_etm(TgTrCore, "ETM CORE: _version: fid(0x%x)", fid); +#if 0 /* FC FFS editor */ l1s_version = (T_VERSION*) l1s_get_version(); +#endif switch (fid) { // Code Versions related to ETM modules @@ -392,6 +396,7 @@ // Code Versions related to L1, see in l1_defty.h // Get the version on this way "revision = l1s.version.dsp_code_version;" // doesn't work because of struct aligment -> compile flag -mw !!!! +#if 0 /* FC FFS editor */ case SW_DSP_CODE_VERSION: revision = ((T_VERSION*) l1s_version)->dsp_code_version; error = etm_pkt_put32(pkt, revision); @@ -416,6 +421,7 @@ revision = ((T_VERSION*) l1s_version)->mcu_tm_version; error = etm_pkt_put32(pkt, revision); break; +#endif default: error = ETM_NOSYS; }