F411: no RCC_AHB1ENR_BKPSRAMEN in AHB1ENR Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Post Reply
User avatar
kreyl
Posts: 59
Joined: Sun Jan 13, 2013 11:46 pm
Been thanked: 4 times

F411: no RCC_AHB1ENR_BKPSRAMEN in AHB1ENR

Post by kreyl »

MCU: stm32F411cEu6
OS: Chibios RT 19.1.2
File: ChibiOS_19.1.2\os\hal\ports\STM32\STM32F4xx\stm32_rcc.h
Row: 432
Code: #define rccEnableBKPSRAM(lp) rccEnableAHB1(RCC_AHB1ENR_BKPSRAMEN, lp)

Datasheet shows no RCC_AHB1ENR_BKPSRAMEN bit in register RCC_AHB1ENR.

Fix suggestion:

#ifdef RCC_AHB1ENR_BKPSRAMEN
#define rccEnableBKPSRAM(lp) rccEnableAHB1(RCC_AHB1ENR_BKPSRAMEN, lp)
#endif
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: F411: no RCC_AHB1ENR_BKPSRAMEN in AHB1ENR

Post by Giovanni »

Hi,

I committed a slightly different fix.

Fixed as bug #1029.

Giovanni
Post Reply