Skip to content

Commit

Permalink
Merge branch 'bugfix/clic_intr_thresh' into 'master'
Browse files Browse the repository at this point in the history
fix(intr): fixed intr threshhold min level on C5

See merge request espressif/esp-idf!31269
  • Loading branch information
ESP-Marius committed Jun 12, 2024
2 parents b343ae4 + 61f1975 commit 34cc6c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/soc/esp32c5/mp/include/soc/clic_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
extern "C" {
#endif

#define NLBITS 3
#define NLBITS 4
#define CLIC_EXT_INTR_NUM_OFFSET 16
#define DUALCORE_CLIC_CTRL_OFF 0x10000

Expand Down
4 changes: 2 additions & 2 deletions components/soc/esp32c61/include/soc/clic_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
extern "C" {
#endif

#define NLBITS 3
#define NLBITS 4
#define CLIC_EXT_INTR_NUM_OFFSET 16

#define DR_REG_CLIC_BASE (0x20800000)
Expand Down Expand Up @@ -144,7 +144,7 @@ extern "C" {

#define BYTE_CLIC_INT_CTL_REG(i) (DR_REG_CLIC_CTRL_BASE + 3 + (i)*4)
/* BYTE_CLIC_INT_ATTR_MODE: R/W ; bitpos:[7:5] ;default: 3'd0 ; */
/*description: interrupt pririty */
/*description: interrupt priority */
#define BYTE_CLIC_INT_CTL 0x00000007
#define BYTE_CLIC_INT_CTL_M ((BYTE_CLIC_INT_CTL_V) << (BYTE_CLIC_INT_CTL_S))
#define BYTE_CLIC_INT_CTL_V 0x7
Expand Down

0 comments on commit 34cc6c0

Please sign in to comment.