This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit bb5e3fee4417c9da3058c1b3208a69df7130286d Author: raiden00pl <[email protected]> AuthorDate: Fri Oct 29 13:41:47 2021 +0200 arch/arm/src/stm32/stm32_foc.c: define missing FOC1_PWM_FZ_BIT for G4 --- arch/arm/src/stm32/stm32_foc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/src/stm32/stm32_foc.c b/arch/arm/src/stm32/stm32_foc.c index f13df66..bcdda9f 100644 --- a/arch/arm/src/stm32/stm32_foc.c +++ b/arch/arm/src/stm32/stm32_foc.c @@ -169,7 +169,8 @@ # define FOC1_PWM (8) # define FOC1_PWM_NCHANNELS (PWM_TIM8_NCHANNELS) # define FOC1_PWM_BASE (STM32_TIM8_BASE) -# if defined(CONFIG_STM32_HAVE_IP_DBGMCU_V2) +# if defined(CONFIG_STM32_HAVE_IP_DBGMCU_V2) || \ + defined(CONFIG_STM32_HAVE_IP_DBGMCU_V3) # define FOC1_PWM_FZ_BIT (DBGMCU_APB2_TIM8STOP) # elif defined(CONFIG_STM32_HAVE_IP_DBGMCU_V1) # define FOC1_PWM_FZ_BIT (DBGMCU_CR_TIM8STOP)
