SHuoDo
SHuoDo

Reputation: 97

Can I use third party xml library for PIC32

I am using PIC32 to design a Bluetooth application. The PIC32 has to send and receive XML information to and from android phone through Bluetooth. However, I couldn't find any XML library provided by Microchip. I need to use a third party for XML.

Can I use third part XML library for PIC32?

The one I am gonna use is: http://xmlsoft.org/ or http://www.jclark.com/xml/expat.html.

Upvotes: 0

Views: 412

Answers (1)

Clifford
Clifford

Reputation: 93564

You certainly do not have to have a PIC32 specific library much less one provided from Microchip.

I would not imagine an XML library would any system dependency beyond a standard library, and even if it did that may be a component that you do not need and can simply remove or stub.

I would expect that if the source compiles with your toolchain, you are good to go. If it does not due to dependencies, you can address that in a number of ways:

  • Remove components that are not needed,
  • Provide non-working stubs,
  • Provide working replacements,
  • Add additional libraries to resolve dependencies.

The behaviour of the library with respect to memory usage may be more critical if your system is memory constrained or perhaps if you provide no heap.

Upvotes: 1

Related Questions