@@ -131,8 +131,10 @@ static const struct esp_flash_breakpoint_ops esp32c5_flash_brp_ops = {
131131 .breakpoint_remove = esp_algo_flash_breakpoint_remove ,
132132};
133133
134+ // TODO: OCD-1167 Why medeleg and csr_mnmicause cannot be read?
134135static const char * esp32c5_csrs [] = {
135- "mideleg" , "medeleg" , "mie" , "mip" , "jvt" , "mtvt" ,
136+ //"medeleg",
137+ "mideleg" , "mie" , "mip" , "jvt" , "mtvt" ,
136138 "mnxti" , "mscratchcsw" , "mscratchcswl" ,
137139 "mcycle" , "mcycleh" , "minstret" , "minstreth" ,
138140 "mhpmevent8" , "mhpmevent9" , "mhpmevent13" ,
@@ -145,7 +147,8 @@ static const char *esp32c5_csrs[] = {
145147 "csr_pma_addr2" , "csr_pma_addr3" , "csr_pma_addr4" , "csr_pma_addr5" , "csr_pma_addr6" , "csr_pma_addr7" ,
146148 "csr_pma_addr8" , "csr_pma_addr9" , "csr_pma_addr10" , "csr_pma_addr11" , "csr_pma_addr12" , "csr_pma_addr13" ,
147149 "csr_pma_addr14" , "csr_pma_addr15" , "csr_mxstatus" , "csr_mhcr" , "csr_mhint" , "csr_mexstatus" ,
148- "csr_mclicbase" , "csr_mraddr" , "csr_mnmicause" , "csr_mintthresh" ,
150+ "csr_mclicbase" , "csr_mraddr" , "csr_mintthresh" ,
151+ //"csr_mnmicause"
149152};
150153
151154static const char * esp32c5_ro_csrs [] = {
0 commit comments