summaryrefslogtreecommitdiffstats
path: root/bsps/include/bsp/irq-generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/include/bsp/irq-generic.h')
-rw-r--r--bsps/include/bsp/irq-generic.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/bsps/include/bsp/irq-generic.h b/bsps/include/bsp/irq-generic.h
index ad64c457d6..5b9ad3ed50 100644
--- a/bsps/include/bsp/irq-generic.h
+++ b/bsps/include/bsp/irq-generic.h
@@ -58,18 +58,10 @@
extern "C" {
#endif /* __cplusplus */
-#if !defined(BSP_INTERRUPT_VECTOR_MAX)
- #error "BSP_INTERRUPT_VECTOR_MAX shall be defined"
-#endif
-
#if !defined(BSP_INTERRUPT_VECTOR_COUNT)
#error "BSP_INTERRUPT_VECTOR_COUNT shall be defined"
#endif
-#if BSP_INTERRUPT_VECTOR_MAX + 1 != BSP_INTERRUPT_VECTOR_COUNT
- #error "BSP_INTERRUPT_VECTOR_COUNT is not equal to BSP_INTERRUPT_VECTOR_MAX + 1"
-#endif
-
#if defined(BSP_INTERRUPT_USE_INDEX_TABLE) && !defined(BSP_INTERRUPT_HANDLER_TABLE_SIZE)
#error "if you define BSP_INTERRUPT_USE_INDEX_TABLE, you have to define BSP_INTERRUPT_HANDLER_TABLE_SIZE etc. as well"
#endif