MQX XML support

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,988件の閲覧回数
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 解決策
1,640件の閲覧回数
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 返答(返信)
1,641件の閲覧回数
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/

1,640件の閲覧回数
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 件の賞賛
返信
1,640件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------