Re: [PATCH 1/2] bsp/stm32f4xxxx_rcc.h: Fix RCC register defines

2022-10-20 Thread Matthew Joyce
RCC_CFGR_PPRE2 is defined twice, on lines 240 and 241. Based on the other defines, I think 241 should have been RCC_CFGR_PPRE2_MSK. Is that what you're referring to? Thanks! On 19.10.22 14:48, Joel Sherrill wrote: I don't see the name defined twice. Are they functionally equivalent? On Wed, O

Re: [PATCH 1/2] bsp/stm32f4xxxx_rcc.h: Fix RCC register defines

2022-10-19 Thread Joel Sherrill
I don't see the name defined twice. Are they functionally equivalent? On Wed, Oct 19, 2022, 5:57 AM Matthew Joyce < matthew.jo...@embedded-brains.de> wrote: > From: Matt Joyce > > Fix a double define of RCC_CFGR_PPRE2 and add RCC_CFGR_PPRE1_MSK. > --- > bsps/arm/stm32f4/include/bsp/stm32f4_

[PATCH 1/2] bsp/stm32f4xxxx_rcc.h: Fix RCC register defines

2022-10-19 Thread Matthew Joyce
From: Matt Joyce Fix a double define of RCC_CFGR_PPRE2 and add RCC_CFGR_PPRE1_MSK. --- bsps/arm/stm32f4/include/bsp/stm32f4_rcc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bsps/arm/stm32f4/include/bsp/stm32f4_rcc.h b/bsps/arm/stm32f4/include/bsp/stm32f4_r