Skip to main content
Associate
Jun 3, 2025 10:09 PM UTC
Solved

LED GPIO bug in STM32CubeExpansion_Cloud_AWS_H5_V1.1.0 software pack

Hi. There is a minor bug in writing to LEDs when this package is used on the STM32H573I-DK development board.

In ..\Common\cli\logging.c there is the following code at line 77:

 HAL_GPIO_WritePin( LED_RED_GPIO_Port, LED_GREEN_Pin, GPIO_PIN_SET );
 HAL_GPIO_WritePin( LED_RED_GPIO_Port, LED_RED_Pin, GPIO_PIN_RESET );

The first line has the wrong port specified. On boards with both LEDs on the same port this wouldn't be noticed, but on the STM32H573I-DK the LEDs are on different ports.

This topic has been closed for replies.
STTwo-32
STTwo-32Best answer
ST Technical Moderator
Jun 3, 2025 11:25 PM UTC

Hello @ChrisF 

It seems to be a Typo on the file. I’ve escalated this for correction on the future (under internal ticket number 211643).

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

1 reply

STTwo-32
STTwo-32Best answer
ST Technical Moderator
Jun 3, 2025 11:25 PM UTC

Hello @ChrisF 

It seems to be a Typo on the file. I’ve escalated this for correction on the future (under internal ticket number 211643).

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.