fopen()

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

fopen()

1,699 次查看
sachusanal
Contributor III

Im not able to use the function fopen in my bareboard project. Im using Codewarrior 10.6 version. Do i need to add any macros or is there any settings to be made to enable fopen() ?

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

1,488 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

hi Sanal

what chip do you work with?

do you use RTOS for example MQX?


Have a great day,
Zhang Jun

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

0 项奖励
回复

1,488 次查看
sachusanal
Contributor III

Hi Zhang Jun,

Thanks for your support.

We are using MK20DX256VLL7 and not using any RTOS.

Regards,

Sachu

0 项奖励
回复

1,488 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

hi Sachu,

IO function such as fopen can not work in bare metal  project.

You may want to look into RTOS solutions that may provide some sort of file I/O support. for example, MQX.
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MQX

does this make sense?


Have a great day,
Zhang Jun

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

0 项奖励
回复

1,488 次查看
sachusanal
Contributor III

Dear Zhang Jun,

     Thank you, i shall proceed with the same.

Regards,

Sachu

0 项奖励
回复

1,488 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

you are welcome!

If this post answers your question, please click the Correct Answer button. Thank you!

Have a great day,

Zhang Jun

0 项奖励
回复