mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Merge branch 'bugfix/h21_cpu_test' into 'master'
fix(riscv): use CSR 0xC10 for privilege mode on ESP32-H21 See merge request espressif/esp-idf!52924
This commit is contained in:
@@ -203,7 +203,7 @@ extern "C" {
|
||||
#define STPC2 0xBF2
|
||||
|
||||
/* Espressif's custom CSR for the current privilege mode */
|
||||
#if CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32H2
|
||||
#if CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP32H21
|
||||
#define CSR_PRV_MODE 0xC10
|
||||
#else
|
||||
#define CSR_PRV_MODE 0x810
|
||||
|
||||
Reference in New Issue
Block a user