Skip to content

Commit 6040c4d

Browse files
committed
Portenta: Disable the FMC bank1 (enabled after reset)
1 parent ec3c48a commit 6040c4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

variants/PORTENTA_H7_M7/variant.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ void initVariant() {
6969
pinMode(PK_6, OUTPUT);
7070
digitalWrite(PK_6, HIGH);
7171
fixup3V1Rail();
72+
// Disable the FMC bank1 (enabled after reset)
73+
// See https://github.com/STMicroelectronics/STM32CubeH7/blob/beced99ac090fece04d1e0eb6648b8075e156c6c/Projects/STM32H747I-DISCO/Applications/OpenAMP/OpenAMP_RTOS_PingPong/Common/Src/system_stm32h7xx.c#L215
74+
FMC_Bank1_R->BTCR[0] = 0x000030D2;
7275
}
7376

7477
#ifdef SERIAL_CDC

0 commit comments

Comments
 (0)