2024-08-03 03:36 PM - edited 2024-08-03 03:47 PM
Hi,
where can I find the data types supported by CubeIDE compiler, the documentation also specifying their size/ranges?
Thank you
Solved! Go to Solution.
2024-08-03 04:16 PM
CubeIDE uses the open source GCC compiler, which supports all standard C data styles.
Mostly, you work with:
uint8_t - 1 byte - 0 to 255
uint16_t - 2 bytes - 0 to 65535
uint32_t - 4 bytes - 0 to 4294967295
Less commonly, you work with the signed variants.
GCC, the GNU Compiler Collection - GNU Project
2024-08-03 04:16 PM
CubeIDE uses the open source GCC compiler, which supports all standard C data styles.
Mostly, you work with:
uint8_t - 1 byte - 0 to 255
uint16_t - 2 bytes - 0 to 65535
uint32_t - 4 bytes - 0 to 4294967295
Less commonly, you work with the signed variants.
GCC, the GNU Compiler Collection - GNU Project
2024-08-04 10:33 AM
Thank you @TDK