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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

601 次查看
ls_ubuntu
Contributor I

my SDK is JN-SW-4168

IDE JN-SW-4141(BeyondStudio for NXP)

template JN-AN-1184

0 项奖励
回复
1 回复

514 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi, 

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

Include the "dbg.h" file

 

Regards,

Mario

0 项奖励
回复