mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
change(app_trace): move sysview to component registry
This commit is contained in:
@@ -740,7 +740,7 @@ bool xPortcheckValidStackMem(const void *ptr);
|
||||
|
||||
// --------------------- App-Trace -------------------------
|
||||
|
||||
#if CONFIG_ESP_TRACE_LIB_SEGGER_SYSVIEW
|
||||
#if CONFIG_ESP_TRACE_ENABLE
|
||||
extern volatile UBaseType_t xPortSwitchFlag[portNUM_PROCESSORS];
|
||||
#define os_task_switch_is_pended(_cpu_) (xPortSwitchFlag[_cpu_])
|
||||
#else
|
||||
|
||||
@@ -658,7 +658,7 @@ bool xPortcheckValidStackMem(const void *ptr);
|
||||
|
||||
// --------------------- App-Trace -------------------------
|
||||
|
||||
#if CONFIG_ESP_TRACE_LIB_SEGGER_SYSVIEW
|
||||
#if CONFIG_ESP_TRACE_ENABLE
|
||||
extern volatile uint32_t port_switch_flag[portNUM_PROCESSORS];
|
||||
#define os_task_switch_is_pended(_cpu_) (port_switch_flag[_cpu_])
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user