Browse Source

stm32/boards/NUCLEO_F091RC: Fix TICK_INT_PRIORITY so it is highest prio.

Fixes issue #3880.
pull/3885/head
Damien George 6 years ago
parent
commit
561ae9a91b
  1. 4
      ports/stm32/boards/NUCLEO_F091RC/stm32f0xx_hal_conf.h

4
ports/stm32/boards/NUCLEO_F091RC/stm32f0xx_hal_conf.h

@ -162,9 +162,7 @@
* @brief This is the HAL system configuration section
*/
#define VDD_VALUE 3300U /*!< Value of VDD in mv */
#define TICK_INT_PRIORITY ((uint32_t)(1U<<__NVIC_PRIO_BITS) - 1U) /*!< tick interrupt priority (lowest by default) */
/* Warning: Must be set to higher priority for HAL_Delay() */
/* and HAL_GetTick() usage under interrupt context */
#define TICK_INT_PRIORITY ((uint32_t)0x00) /*!< tick interrupt priority */
#define USE_RTOS 0U
#define PREFETCH_ENABLE 1U
#define INSTRUCTION_CACHE_ENABLE 0U

Loading…
Cancel
Save