Add option to automatically set a watchpoint at the end of the swapped-in task

This commit is contained in:
Jeroen Domburg
2017-01-09 16:42:45 +08:00
parent 633cd49f88
commit ca57a86f20
4 changed files with 81 additions and 0 deletions

View File

@@ -14,8 +14,18 @@
#ifndef __ASSEMBLER__
#include "esp_err.h"
void esp_set_breakpoint_if_jtag(void *fn);
#define ESP_WATCHPOINT_LOAD 0x40000000
#define ESP_WATCHPOINT_STORE 0x80000000
#define ESP_WATCHPOINT_ACCESS 0xC0000000
esp_err_t esp_set_watchpoint(int no, void *adr, int size, int flags);
void esp_clear_watchpoint(int no);
#endif
#endif