Skip to content

Commit 1044731

Browse files
committed
Revert "Remove SECUREFAULT_EXCEPTION as that is only available in Arm-v8"
This reverts commit 1b5d796.
1 parent 509bf99 commit 1044731

File tree

1 file changed

+2
-0
lines changed
  • src/rp2_common/hardware_exception/include/hardware

1 file changed

+2
-0
lines changed

src/rp2_common/hardware_exception/include/hardware/exception.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ extern "C" {
4747
* MEMMANAGE_EXCEPTION | 4 | MemManage
4848
* BUSFAULT_EXCEPTION | 5 | BusFault
4949
* USAGEFAULT_EXCEPTION | 6 | UsageFault
50+
* SECUREFAULT_EXCEPTION | 7 | SecureFault
5051
* \endif
5152
* SVCALL_EXCEPTION | 11 | SV Call
5253
* PENDSV_EXCEPTION | 14 | Pend SV
@@ -99,6 +100,7 @@ enum exception_number {
99100
MEMMANAGE_EXCEPTION = 4, ///< MemManage Interrupt
100101
BUSFAULT_EXCEPTION = 5, ///< BusFault Interrupt
101102
USAGEFAULT_EXCEPTION = 6, ///< UsageFault Interrupt
103+
SECUREFAULT_EXCEPTION = 7, ///< SecureFault Interrupt
102104
#endif
103105
SVCALL_EXCEPTION = 11, ///< SV Call Interrupt
104106
PENDSV_EXCEPTION = 14, ///< Pend SV Interrupt

0 commit comments

Comments
 (0)