Skip to main content
Associate
June 3, 2025
Solved

LED GPIO bug in STM32CubeExpansion_Cloud_AWS_H5_V1.1.0 software pack

  • June 3, 2025
  • 1 reply
  • 228 views

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.

Best answer by STTwo-32

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

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
June 3, 2025

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