MQX XML support

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

MQX XML support

跳至解决方案
2,657 次查看
nitinharish
Contributor V

Team

I want to put some XML files on K65 Kinetis which will be read by my code later on and I am using MQX OS 4.2 with MFS and SHELL components.

Has anybody already done this before (xml parser etc etc on MFS) ?

Thanks and Regards

Nitin

标签 (1)
标记 (4)
1 解答
2,309 次查看
matthewkendall
Contributor V

I considered doing this for configuration files on an SD card and came to the conclusion that XML was too heavyweight. I ended up using JSON, which is much easier to parse. I used the cJSON library.

http://sourceforge.net/projects/cjson/

在原帖中查看解决方案

3 回复数
2,310 次查看
matthewkendall
Contributor V

I considered doing this for configuration files on an SD card and came to the conclusion that XML was too heavyweight. I ended up using JSON, which is much easier to parse. I used the cJSON library.

http://sourceforge.net/projects/cjson/

2,309 次查看
nitinharish
Contributor V

Mat

I came to the same conclusion. Dropped XML parser and the overhead because of that e.g. MFS etc etc.

Although I went all the way through to realize that. >95% RAM used and extensible amount of FLASH. NOT WORTHED.

0 项奖励
回复
2,309 次查看
soledad
NXP Employee
NXP Employee

Hello Nitin,

XML is supported by a third party and it has an extra cost.

pastedImage_0.png


Have a great day,
Sol

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