FUTURE_SEQUANA: Fixed LP ticker for M0 core

Fixed interrupt vector settings on M0 core. Wrong vector settings prevented
LP_TICKER from working, resulting in deep sleep tests failing on M0
or PSA variant.
pull/10326/head
Leszek Rusinowicz 2019-04-02 08:40:47 +02:00 committed by Martin Kojtal
parent 40d8143cdf
commit 60b1413be2
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ static cy_stc_mcwdt_config_t config = {
// Interrupt configuration.
static cy_stc_sysint_t lpt_sysint_config = {
#if defined(TARGET_MCU_PSOC6_M0)
.intrSrc = (IRQn_Type)(-1),
.cm0pSrc = CY_M0_CORE_IRQ_CHANNEL_LP_TICKER,
.intrSrc = CY_M0_CORE_IRQ_CHANNEL_LP_TICKER,
.cm0pSrc = LPT_INTERRUPT_SOURCE,
#else
.intrSrc = LPT_INTERRUPT_SOURCE,
#endif