I am using codewarrior 10.7 for MC9S12ZVC and i am facing issue in reading double value it can support only float of 4 bytes ,how can i activate and make use of 64-bit data types in the already existing project

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

I am using codewarrior 10.7 for MC9S12ZVC and i am facing issue in reading double value it can support only float of 4 bytes ,how can i activate and make use of 64-bit data types in the already existing project

1,129 次查看
sujendra_n2
Contributor I

I am using codewarrior 10.7 for MC9S12ZVC and i am facing issue in reading double value it can support only float of 4 bytes ,how can i activate and make use of 64-bit data types in the already existing project

标签 (1)
0 项奖励
回复
1 回复

1,010 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Sujendra Narayana ,

Try to add the blow command in S12z Compiler ->General ->Other Flags:

-double_size=8 -bit64_code_gen mem

pastedImage_2.png

Hope it helps


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复