STM32H573I-DISCOVERY

Report here problems in any of ChibiOS components. This forum is NOT for support.
lemmy
Posts: 11
Joined: Tue Oct 06, 2015 9:02 am

STM32H573I-DISCOVERY

Postby lemmy » Sat Oct 05, 2024 2:53 pm

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':

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


The compiler says:

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)


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

Any ideas? Suggestions? Thanks!

User avatar
Giovanni
Site Admin
Posts: 14525
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1095 times
Been thanked: 934 times
Contact:

Re: STM32H573I-DISCOVERY

Postby Giovanni » Sat Oct 05, 2024 3:44 pm

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


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 8 guests