itoa() and utoa() have bad results
Hello,
9.2.1 is the eclipse version, the gcc version is :
arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 7.3.1 20180622 (release) ARM/embedded-7-branch revision 261907
you can find the compiler in this directory :
Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.17.0.201812190825\tools\compiler\bin
then usind cmd : arm-none-eabi-gcc.exe --version
char is unsigned by default on gcc- arm architecture, unless -fsigned-char is used.
you can test it :
char c = -1;
if(c < 0)
printf(“char is signed”);
else
printf(“char is unsigned”);
for other types (short, int, long ... ) they are signed by default
Best reagrds,
Roy,
AC6