Tiva. ST. Moved ST interrupt priority check from hal_lld to st_lld.
This commit is contained in:
parent
5130840d32
commit
e5f1b8b034
|
@ -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. */
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -329,11 +329,6 @@
|
|||
*/
|
||||
#define TIVA_SYSCLK (TIVA_SRC / (((TIVA_SYSDIV_VALUE << TIVA_DIV400_VALUE /*& TIVA_BYPASS_VALUE*/) | (TIVA_SYSDIV2LSB >> 22)) + 1))
|
||||
|
||||
#if OSAL_ST_MODE == OSAL_ST_MODE_PERIODIC && \
|
||||
!OSAL_IRQ_IS_VALID_PRIORITY(TIVA_ST_IRQ_PRIORITY)
|
||||
#error "Invalid IRQ priority assigned to SysTick"
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver data structures and types. */
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -344,11 +344,6 @@
|
|||
*/
|
||||
#define TIVA_SYSCLK 120000000
|
||||
|
||||
#if OSAL_ST_MODE == OSAL_ST_MODE_PERIODIC && \
|
||||
!OSAL_IRQ_IS_VALID_PRIORITY(TIVA_ST_IRQ_PRIORITY)
|
||||
#error "Invalid IRQ priority assigned to SysTick"
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver data structures and types. */
|
||||
/*===========================================================================*/
|
||||
|
|
Loading…
Reference in New Issue