Skip to content

Commit 59e1b11

Browse files
committed
Portenta: set r4.3 as the first version with working LSE
In 4.3, neither LSI nor LSE can keep counting in VBAT mode, so keep LSE to be at least precise
1 parent 0cf0127 commit 59e1b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/PORTENTA_H7_M7/variant.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ uint32_t lowSpeedClockInUse() {
288288
#define BOARD_REVISION(x,y) (x << 8 | y)
289289

290290
extern "C" bool isLSEAvailableAndPrecise() {
291-
if (has_otp_info && (boardRevision() >= BOARD_REVISION(4,10))) {
291+
if (has_otp_info && (boardRevision() >= BOARD_REVISION(4,3))) {
292292
return true;
293293
}
294294
if (__HAL_RCC_GET_LPTIM4_SOURCE() == RCC_LPTIM4CLKSOURCE_LSI || bootloaderVersion() < 24) {

0 commit comments

Comments
 (0)