mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
40d8143cdf
commit
60b1413be2
|
@ -63,8 +63,8 @@ static cy_stc_mcwdt_config_t config = {
|
||||||
// Interrupt configuration.
|
// Interrupt configuration.
|
||||||
static cy_stc_sysint_t lpt_sysint_config = {
|
static cy_stc_sysint_t lpt_sysint_config = {
|
||||||
#if defined(TARGET_MCU_PSOC6_M0)
|
#if defined(TARGET_MCU_PSOC6_M0)
|
||||||
.intrSrc = (IRQn_Type)(-1),
|
.intrSrc = CY_M0_CORE_IRQ_CHANNEL_LP_TICKER,
|
||||||
.cm0pSrc = CY_M0_CORE_IRQ_CHANNEL_LP_TICKER,
|
.cm0pSrc = LPT_INTERRUPT_SOURCE,
|
||||||
#else
|
#else
|
||||||
.intrSrc = LPT_INTERRUPT_SOURCE,
|
.intrSrc = LPT_INTERRUPT_SOURCE,
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue