MQX XML support

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MQX XML support

Jump to solution
978 Views
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

Labels (1)
1 Solution
630 Views
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/

View solution in original post

3 Replies
631 Views
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/

630 Views
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 Kudos
630 Views
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!
-----------------------------------------------------------------------------------------------------------------------