Uint16_t Build Errors within STM32CubeIDE 12.1
Hey ST Community,
I started getting errors within STM32CubeIDE, throughout all workbenches randomly, after working on a new project.
The errors involve uint16_t, such as:
-'error: unknown type name "uint16_t''
-"error: unknown type name 'uint16_t'; did you mean 'int16_t'?' etc"
-"error: 'uint16_t' undeclared (first use in this function); did you mean 'int16_t'?"
Seems like the errors are within the CMSIS and STM32H7xx_HAL_Driver files. For example, adding '#include <stdint.h>' to 'stm32h7xx_hal_gpio.h', does not seem to fix the errors as suggested by similar problems encountered in the STM community.
I am wondering if this is a compiler or driver issue within STM32.
Before working on the new project, I had no Build/compile issues. Reverting the project to a previous version which did build with no errors did not fix it.
Thank you for any suggestions that will fix this.
