apptrace: Adds ESP32-C3 support
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
| Supported Targets | ESP32 | ESP32-S2 |
|
||||
| ----------------- | ----- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-S2 | ESP32-C3 |
|
||||
| ----------------- | ----- | -------- | -------- |
|
||||
# Example: Application Level Tracing - SystemView Tracing (sysview_tracing)
|
||||
|
||||
This test code shows how to perform system-wide behavioral analysis of the program using [SEGGER SystemView tool](https://www.segger.com/products/development-tools/systemview/).
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
| Supported Targets | ESP32 | ESP32-S2 |
|
||||
| ----------------- | ----- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-S2 | ESP32-C3 |
|
||||
| ----------------- | ----- | -------- | -------- |
|
||||
|
||||
# SystemView Heap and Log Tracing Example
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
# Enable single core mode by default
|
||||
CONFIG_MEMMAP_SMP=n
|
||||
CONFIG_FREERTOS_UNICORE=y
|
||||
# 1ms tick period
|
||||
CONFIG_FREERTOS_HZ=1000
|
||||
# Enable application tracing by default
|
||||
CONFIG_APPTRACE_DEST_JTAG=y
|
||||
CONFIG_APPTRACE_MEMBUFS_APPTRACE_PROTO_ENABLE=y
|
||||
CONFIG_APPTRACE_ENABLE=y
|
||||
# Enable FreeRTOS SystemView Tracing by default
|
||||
CONFIG_APPTRACE_SV_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_TS_SOURCE_TIMER_00=y
|
||||
CONFIG_APPTRACE_SV_EVT_OVERFLOW_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_EVT_ISR_ENTER_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_EVT_ISR_EXIT_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_EVT_ISR_TO_SCHED_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_EVT_TASK_START_EXEC_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_EVT_TASK_STOP_EXEC_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_EVT_TASK_START_READY_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_EVT_TASK_STOP_READY_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_EVT_TASK_CREATE_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_EVT_TASK_TERMINATE_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_EVT_IDLE_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_EVT_TIMER_ENTER_ENABLE=y
|
||||
CONFIG_APPTRACE_SV_EVT_TIMER_EXIT_ENABLE=y
|
||||
# Disable color output in logs
|
||||
CONFIG_LOG_COLORS=n
|
||||
# Enable heap tracing to host
|
||||
CONFIG_HEAP_TRACING_TOHOST=y
|
||||
CONFIG_HEAP_TRACING_STACK_DEPTH=0
|
||||
Reference in New Issue
Block a user