cancel
Showing results for 
Search instead for 
Did you mean: 

Data types supported and definition

Ricko
Senior II

Hi,

where can I find the data types supported by CubeIDE compiler, the documentation also specifying their size/ranges?

Thank you

 

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
TDK
Guru

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

If you feel a post has answered your question, please click "Accept as Solution".

Thank you @TDK