ESP-IDF + 0/1 examples
SourceVu will show references to esp_cpu_set_watchpoint() from the following samples and libraries:
 
Symbols
loading...
Files
loading (1/5)...
SummarySyntaxArgumentsExamplesReferencesCall TreeData Use

Return value

ESP_ERR_INVALID_ARG on invalid arg, ESP_OK otherwise

Notes

Overwrites previously set watchpoint with same watchpoint number. On RISC-V chips, this API uses method0(Exact matching) and method1(NAPOT matching) according to the riscv-debug-spec-0.13 specification for address matching. If the watch region size is 1byte, it uses exact matching (method 0). If the watch region size is larger than 1byte, it uses NAPOT matching (method 1). This mode requires the watching region start address to be aligned to the watching region size.

References

from 0/1 examples