diff options
author | barthess <barthess@yandex.ru> | 2015-04-28 10:10:22 +0300 |
---|---|---|
committer | barthess <barthess@yandex.ru> | 2015-04-28 10:10:22 +0300 |
commit | cce5848449c6468b27fdc3b47537dda467ae0656 (patch) | |
tree | 52c32ae9bd7f023ad6e05c7cc5f32bfaab02c680 /os/hal/ports/TIVA/LLD/st_lld.h | |
parent | 955b7901377d4bda1d45af12a9e5a8de54c427b6 (diff) | |
parent | 9f7ac7abf94b4b5be86cf4b70b74954000657205 (diff) | |
download | ChibiOS-Contrib-cce5848449c6468b27fdc3b47537dda467ae0656.tar.gz ChibiOS-Contrib-cce5848449c6468b27fdc3b47537dda467ae0656.tar.bz2 ChibiOS-Contrib-cce5848449c6468b27fdc3b47537dda467ae0656.zip |
Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib
Diffstat (limited to 'os/hal/ports/TIVA/LLD/st_lld.h')
-rw-r--r-- | os/hal/ports/TIVA/LLD/st_lld.h | 5 |
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. */ /*===========================================================================*/ |