You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Results for the basic example sketch calling vsprintf() are:
=== Test of vsprintf on LPSTK
numberF =
number32 = 123456
The float isn't printed.
Adding -Dprintf=iprintf has no impact.
Adding -Dprintf=fprintf results in a conflict with
In file included from /Users/ReiVilo/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/6.3.1-20170620/arm-none-eabi/include/string.h:10:0,
from /Users/ReiVilo/Library/Energia15/packages/energia/hardware/cc13x2/5.29.0-beta2/cores/cc13x2/ti/runtime/wiring/Energia.h:38,
from main.cpp:30:
/<command-line>:1:8: conflicting declaration of C function 'int fprintf(const char*, ...)'
/Users/ReiVilo/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/6.3.1-20170620/arm-none-eabi/include/stdio.h:196:5: previous declaration 'int fprintf(FILE*, const char*, ...)'
int _EXFUN(fprintf, (FILE *__restrict, const char *__restrict, ...)
^
Tested with both arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors 6-2017-q2-update) 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437]and arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 8-2019-q3-update) 8.3.1 20190703 (release) [gcc-8-branch revision 273027], to no avail.
Results for the basic example sketch calling
vsprintf()
are:The float isn't printed.
Adding
-Dprintf=iprintf
has no impact.Adding
-Dprintf=fprintf
results in a conflict withThe text was updated successfully, but these errors were encountered: