Page 1 of 1

STM32H573I-DISCOVERY

Posted: Sat Oct 05, 2024 2:53 pm
by lemmy
I have got serial, LED blinky and shell working on the STM32H573I-DK.

But when I add in SDC I have a problem. In 'hal_lld.c':

[font=Courier New]/**
* @brief SDMMC1 clock frequency.
*/
#if (STM32_SDMMC1SEL == STM32_SDMMC1SEL_PLL1Q) || defined(__DOXYGEN__)
#define STM32_SDMMC1CLK hal_lld_get_clock_point(CLK_PLL1QCLK)[/font]

The compiler says:

[font=Courier New]In file included from ../../../os/hal/include/hal.h:249,
from ../../../os/hal/src/hal_buffers.c:41:
../../../os/hal/ports/STM32/STM32H5xx/hal_lld.h:3252:37: warning: "hal_lld_get_clock_point" is not defined, evaluates to 0 [-Wundef]
3252 | #define STM32_SDMMC1CLK hal_lld_get_clock_point(CLK_PLL1QCLK)[/font]

Yet hal_lld_get_clock_point() is already in use for other peripherals.

Any ideas? Suggestions? Thanks!

Re: STM32H573I-DISCOVERY

Posted: Sat Oct 05, 2024 3:44 pm
by Giovanni
Hi,

Moving this in "bug reports", will give a look ASAP.

Note that the H5 port is still work in progress, there could be small problems here and there.

Giovanni

Re: STM32H573I-DISCOVERY

Posted: Tue Jul 01, 2025 10:01 am
by Giovanni
bump

Re: STM32H573I-DISCOVERY

Posted: Thu Jul 03, 2025 10:29 am
by Giovanni
Apparently this problem has already been fixed, closing.

Giovanni