F411: no RCC_AHB1ENR_BKPSRAMEN in AHB1ENR Topic is solved

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

F411: no RCC_AHB1ENR_BKPSRAMEN in AHB1ENR  Topic is solved

Postby kreyl » Tue May 07, 2019 4:51 pm

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: 12241
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 585 times
Been thanked: 495 times
Contact:

Re: F411: no RCC_AHB1ENR_BKPSRAMEN in AHB1ENR

Postby Giovanni » Sun May 12, 2019 4:17 pm

Hi,

I committed a slightly different fix.

Fixed as bug #1029.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 3 guests