aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/TIVA/LLD/st_lld.h
diff options
context:
space:
mode:
authormarcoveeneman <marco-veeneman@hotmail.com>2015-04-16 22:17:06 +0200
committermarcoveeneman <marco-veeneman@hotmail.com>2015-04-16 22:17:06 +0200
commit86db94625fea1394304cf2f55af7ba648e07e0ac (patch)
tree0a8e1d85577db384a972171563dfccfd65ef47fc /os/hal/ports/TIVA/LLD/st_lld.h
parente62aae545ae8c1047b863911f5a880dd075dbfe8 (diff)
parente5f1b8b034f66fa3aa4dd45f6c69da191e326c03 (diff)
downloadChibiOS-Contrib-86db94625fea1394304cf2f55af7ba648e07e0ac.tar.gz
ChibiOS-Contrib-86db94625fea1394304cf2f55af7ba648e07e0ac.tar.bz2
ChibiOS-Contrib-86db94625fea1394304cf2f55af7ba648e07e0ac.zip
Merge branch 'tiva_hal_fixes' into tiva_startup_files
Diffstat (limited to 'os/hal/ports/TIVA/LLD/st_lld.h')
-rw-r--r--os/hal/ports/TIVA/LLD/st_lld.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/hal/ports/TIVA/LLD/st_lld.h b/os/hal/ports/TIVA/LLD/st_lld.h
index bec1a36..23b3ef5 100644
--- a/os/hal/ports/TIVA/LLD/st_lld.h
+++ b/os/hal/ports/TIVA/LLD/st_lld.h
@@ -164,6 +164,11 @@
#error "wrong value defined for TIVA_ST_USE_WIDE_TIMER"
#endif
+#if OSAL_ST_MODE != OSAL_ST_MODE_NONE && \
+ !OSAL_IRQ_IS_VALID_PRIORITY(TIVA_ST_IRQ_PRIORITY)
+#error "Invalid IRQ priority assigned to ST"
+#endif
+
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/