Potential Bug in stm32fxx_STLstartup.c V2.2.0
Dear Community Members,
While working on my current STM32F103 project and attempting to integrate the X-CUBE-CLASS-B Library, I've come across a potential issue in the file `stm32fxx_STLstartup.c`. Specifically, it concerns line 351:
351 if (STL_FullRamMarchC(RAM_START, RAM_END, BCKGRND) != SUCCESS)
It appears that `STL_FullRamMarchC` returns "1" upon successful testing, while returning "0" upon failure.
91 STL_FullRamMarchC ; find in stm32fxx_STLRamMcMxKEIL.s
92 MOVS R4, #0x1 ; Test success status by default
However, `SUCCESS` is defined as 0, causing the error branch to be executed even when the test is successful.
I'm wondering if this issue is already known and if STMicroelectronics plans to provide an updated version addressing this bug. I want to ensure that my project work is not compromised by potential errors in the library.
Any advice or information you have on this matter would be greatly appreciated.
Best regards,
Wolfram
