This commit is contained in:
rusefi 2017-05-14 13:48:00 -04:00
parent 4dc2ea5f7f
commit 819aeadd42
1 changed files with 9 additions and 5 deletions

View File

@ -24,6 +24,9 @@
* This is about SingleTimerExecutor - rusEfi 1MHz precise scheduling timer
* this is not about ChibiOS virtual timer which rusEfi uses for
* periodicFastCallback and periodicSlowCallback
* See STM32_ST_IRQ_PRIORITY
*
* http://www.chibios.org/dokuwiki/doku.php?id=chibios:kb:priority
*/
#define PRECISE_SCHEDULING_TIMER_PRIORITY 4
/**
@ -31,6 +34,12 @@
*/
#define ICU_PRIORITY 3
/*
* SysTick driver system settings.
*/
#define STM32_ST_IRQ_PRIORITY 8
#define STM32_ST_USE_TIMER 2
/*
* STM32F4xx drivers configuration.
* The following settings override the default settings present in
@ -298,11 +307,6 @@
#define STM32_SPI_SPI3_IRQ_PRIORITY 10
#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("STM32_SPI_DMA_ERROR_HOOK")
/*
* ST driver system settings.
*/
#define STM32_ST_IRQ_PRIORITY 8
#define STM32_ST_USE_TIMER 2
/*
* UART driver system settings.