esp_hw_support: Removed deprecated CPU util functions
The following files were deleted: - components/esp_hw_support/include/soc/cpu.h - components/soc/esp32s3/include/soc/cpu.h The following functions are deprecated: - get_sp() The following functions declared in soc/cpu.h are now moved to esp_cpu.h: - esp_cpu_configure_region_protection() The following functions declared in soc/cpu.h are now moved to components/xtensa/include/esp_cpu_utils.h: - esp_cpu_process_stack_pc() All files with soc/cpu.h inclusion are updated to include esp_cpu.h instead. Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include "esp_attr.h"
|
||||
#include "soc/cpu.h"
|
||||
#include "esp_cpu.h"
|
||||
#include "soc/soc.h"
|
||||
#include "soc/rtc_periph.h"
|
||||
#include "sdkconfig.h"
|
||||
@@ -46,13 +46,13 @@ esp_err_t IRAM_ATTR esp_cpu_set_watchpoint(int no, void *adr, int size, int flag
|
||||
|
||||
switch (flags)
|
||||
{
|
||||
case ESP_WATCHPOINT_LOAD:
|
||||
case ESP_CPU_WATCHPOINT_LOAD:
|
||||
trigger = WATCHPOINT_TRIGGER_ON_RO;
|
||||
break;
|
||||
case ESP_WATCHPOINT_STORE:
|
||||
case ESP_CPU_WATCHPOINT_STORE:
|
||||
trigger = WATCHPOINT_TRIGGER_ON_WO;
|
||||
break;
|
||||
case ESP_WATCHPOINT_ACCESS:
|
||||
case ESP_CPU_WATCHPOINT_ACCESS:
|
||||
trigger = WATCHPOINT_TRIGGER_ON_RW;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user