when using function "sprintf",build project will encounter c:/nxp/bstudio_nxp/sdk/tools/ba-elf-ba2-r36379/bin/../lib/gcc/ba-elf/4.7.4/../../../../ba-elf/lib/mcpu_jn51xx_sizeopt\libc.a(lib_a-glue.o): In function `_sbrk': /ba_toolchain/r36379/source/gcc-4.7

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

when using function "sprintf",build project will encounter c:/nxp/bstudio_nxp/sdk/tools/ba-elf-ba2-r36379/bin/../lib/gcc/ba-elf/4.7.4/../../../../ba-elf/lib/mcpu_jn51xx_sizeopt\libc.a(lib_a-glue.o): In function `_sbrk': /ba_toolchain/r36379/source/gcc-4.7

399 Views
ls_ubuntu
Contributor I

my SDK is JN-SW-4168

IDE JN-SW-4141(BeyondStudio for NXP)

template JN-AN-1184

0 Kudos
1 Reply

312 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi, 

You can use DBG_vPrintf(TRUE, "Initialising ...");

Include the "dbg.h" file

 

Regards,

Mario

0 Kudos