diff options
author | marcoveeneman <marco-veeneman@hotmail.com> | 2015-04-16 22:15:15 +0200 |
---|---|---|
committer | marcoveeneman <marco-veeneman@hotmail.com> | 2015-04-16 22:15:15 +0200 |
commit | e5f1b8b034f66fa3aa4dd45f6c69da191e326c03 (patch) | |
tree | 447c82c78be84ea915c6a60e89b1509cf70d0588 /os/hal/ports/TIVA/LLD | |
parent | 5130840d32ee59d311d4875cb09edbd84facad71 (diff) | |
download | ChibiOS-Contrib-e5f1b8b034f66fa3aa4dd45f6c69da191e326c03.tar.gz ChibiOS-Contrib-e5f1b8b034f66fa3aa4dd45f6c69da191e326c03.tar.bz2 ChibiOS-Contrib-e5f1b8b034f66fa3aa4dd45f6c69da191e326c03.zip |
Tiva. ST. Moved ST interrupt priority check from hal_lld to st_lld.
Diffstat (limited to 'os/hal/ports/TIVA/LLD')
-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. */ /*===========================================================================*/ |