1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

cpu: cortexm_common: add define for number of non-isr exceptions

This commit is contained in:
Kaspar Schleiser 2017-01-25 10:20:20 +01:00
parent 865008ea7e
commit be7771e0b9

View File

@ -34,6 +34,14 @@ extern "C" {
*/
#define ISR_VECTORS __attribute__((used,section(".vectors")))
/**
* @brief Number of Cortex-M non-ISR exceptions
*
* This means those that are no hardware interrupts, or the ones with a
* negative interrupt number.
*/
#define CPU_NONISR_EXCEPTIONS (15)
/**
* @brief This function is the default entry point after a system reset
*