msgpack-c
msgpack-c copied to clipboard
Using msgpack in embedded RTOS environment
I would like to use msgpack in embedded RTOS environment. I have a few questions
- I msgpack platform independent?
- What porting requirements are there?
Is there anything else I should be concerned about?
- I msgpack platform independent?
- msgpack-c requires C standard library.
- If you want to use C++ part, msgpack-c requires C++ standard library.
- Other system dependent library is wrapped by https://github.com/msgpack/msgpack-c/blob/master/include/msgpack/sysdep.h
- What porting requirements are there?
- It isn't documented.
- Here is a list, maybe incomplete.
- msgpack-c uses dynamic memory allocation. If you use C, you need to prepare
malloc,free, andrealloc. If you use C++, you need to define global new.
- msgpack-c uses dynamic memory allocation. If you use C, you need to prepare
- In addition, it might be helpful: https://github.com/msgpack/msgpack-c/issues/369