PRINTF with Keil uVision does not print negative numbers

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PRINTF with Keil uVision does not print negative numbers

1,609件の閲覧回数
bcstewart
Contributor III

I cannot get negative numbers to print out using KSDK 2.0.  I am using the accelerometer demo for the TWR-KL25Z48M.

All values are positive on the terminal.  But they show negative values in the debugger watch window.

I saw this post here:https://community.nxp.com/message/868842 

But the fix is for KDS/Xpresso and not for Keil uVisoin V5.14.

Any suggestions?

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

1,345件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Stewart,

As you see that the printf() function is dependent on compiler rather than SDK, can you ask Keil support directly? they can give professional answer i think.

BR

Xiangjun Rong

0 件の賞賛
返信