ESP-IDF
esp_backtrace_frame_t::sp
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_backtrace_frame_t::sp
esp_backtrace_frame_t::sp field
Syntax
Show:
Summary
Declaration
from
esp_debug_helpers.h:35
uint32_t
sp
;
Examples
References
from
examples
Code
Location
Referrer
uint32_t
sp
;
/* SP of the current frame */
esp_debug_helpers.h:35
void
*
base_save
=
(
void
*
)
frame
->
sp
;
//Base save area consists of 4 words under SP
debug_helpers.c:30
esp_backtrace_get_next_frame()
frame
->
sp
=
*
(
(
uint32_t
*
)
(
base_save
-
12
)
)
;
debug_helpers.c:33
esp_backtrace_get_next_frame()
return
(
esp_stack_ptr_is_sane
(
frame
->
sp
)
&&
esp_ptr_executable
(
(
void
*
)
esp_cpu_process_stack_pc
(
frame
->
pc
)
)
)
;
debug_helpers.c:36
esp_backtrace_get_next_frame()
print_entry
(
esp_cpu_process_stack_pc
(
stk_frame
.
pc
)
,
stk_frame
.
sp
,
panic
)
;
debug_helpers.c:72
esp_backtrace_print_from_frame()
bool
corrupted
=
!
(
esp_stack_ptr_is_sane
(
stk_frame
.
sp
)
&&
debug_helpers.c:75
esp_backtrace_print_from_frame()
print_entry
(
esp_cpu_process_stack_pc
(
stk_frame
.
pc
)
,
stk_frame
.
sp
,
panic
)
;
debug_helpers.c:85
esp_backtrace_print_from_frame()
esp_backtrace_get_start
(
&
(
start
.
pc
)
,
&
(
start
.
sp
)
,
&
(
start
.
next_pc
)
)
;
debug_helpers.c:104
esp_backtrace_print()
stk_frame
.
sp
=
ctrl
.
cur_tasks
[
core_id
]
.
starting_sp
;
debug_helpers.c:219
esp_backtrace_print_all_tasks()
stk_frame
.
sp
=
exc_frame
->
a1
;
debug_helpers.c:225
esp_backtrace_print_all_tasks()
esp_backtrace_frame_t
frame
=
{
.
pc
=
xt_frame
->
pc
,
.
sp
=
xt_frame
->
a1
,
.
next_pc
=
xt_frame
->
a0
,
.
exc_frame
=
xt_frame
}
;
panic_arch.c:479
panic_print_backtrace()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_backtrace_frame_t::sp
is written by 2 functions and is read by 3 functions:
esp_backtrace_get_next_frame()
esp_backtrace_print_all_tasks()
All items filtered out
esp_backtrace_frame_t::sp
esp_backtrace_get_next_frame()
esp_backtrace_print_from_frame()
esp_backtrace_print()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out