kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/apptrace_opt2_build' into 'master'
apptrace: Fixes multiple defs of '__esp_apptrace_trax_eri_updated' for O2 builds See merge request espressif/esp-idf!10690pull/5682/merge
commit
db09f9815b
|
@ -495,7 +495,7 @@ static uint16_t esp_apptrace_trax_pend_chunk_sz_get(void)
|
|||
#endif
|
||||
|
||||
// assumed to be protected by caller from multi-core/thread access
|
||||
static esp_err_t esp_apptrace_trax_block_switch(void)
|
||||
static __attribute__((noinline)) esp_err_t esp_apptrace_trax_block_switch(void)
|
||||
{
|
||||
int prev_block_num = s_trace_buf.trax.state.in_block % 2;
|
||||
int new_block_num = prev_block_num ? (0) : (1);
|
||||
|
|
Ładowanie…
Reference in New Issue