Fixed some issues in the ADuCM36x/ST lld
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13103 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
d039f5516b
commit
8e70a1ef18
|
@ -89,7 +89,7 @@ void st_lld_init(void) {
|
||||||
SysTick_CTRL_TICKINT_Msk;
|
SysTick_CTRL_TICKINT_Msk;
|
||||||
|
|
||||||
/* IRQ enabled.*/
|
/* IRQ enabled.*/
|
||||||
NVIC_SetPriority(SysTick_IRQn, STM32_ST_IRQ_PRIORITY);
|
nvicSetSystemHandlerPriority(HANDLER_SYSTICK, ADUCM_ST_IRQ_PRIORITY);
|
||||||
#endif /* OSAL_ST_MODE == OSAL_ST_MODE_PERIODIC */
|
#endif /* OSAL_ST_MODE == OSAL_ST_MODE_PERIODIC */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,8 +44,8 @@
|
||||||
/**
|
/**
|
||||||
* @brief SysTick timer IRQ priority.
|
* @brief SysTick timer IRQ priority.
|
||||||
*/
|
*/
|
||||||
#if !defined(STM32_ST_IRQ_PRIORITY) || defined(__DOXYGEN__)
|
#if !defined(ADUCM_ST_IRQ_PRIORITY) || defined(__DOXYGEN__)
|
||||||
#define STM32_ST_IRQ_PRIORITY 8
|
#define ADUCM_ST_IRQ_PRIORITY 7
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -54,8 +54,8 @@
|
||||||
* is required.
|
* is required.
|
||||||
* @note Timers 0, 1, 2 are supported.
|
* @note Timers 0, 1, 2 are supported.
|
||||||
*/
|
*/
|
||||||
#if !defined(STM32_ST_USE_TIMER) || defined(__DOXYGEN__)
|
#if !defined(ADUCM_ST_USE_TIMER) || defined(__DOXYGEN__)
|
||||||
#define STM32_ST_USE_TIMER 2
|
#define ADUCM_ST_USE_TIMER 0
|
||||||
#endif
|
#endif
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue