Solved
Hi everyone! STM32CubeIDE: debuger skip comparison with constant, stlink + stm32F429. Why and how to fix?


Yes, this is the effect of integer promotion. Short and char types are converted to signed int every time they are used in an expression. Unsigned shorts are extended with 0 bits (0x81d0 -> 0x000081d0), signed are extended with the value of bit 15 (0x81d0 -> 0xffff81d0).
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.