Other Platforms
Using other platforms
Build definitions are prepared so that some functions (serparser, pktparser, Serial objects for console) can be built on other platforms as well. Only the necessary files are extracted.
Build definitions are stored in the {mwx library directory}/stdio
folder. For build instructions, please refer to README.md (link is on GitHub).
- Must be able to compile with C++11.
- Must have access to C++11 standard library headers (such as utility, algorithm, functional, iterator).
new
/delete
/virtual
are not used.- Memory allocation using
new
may be used exceptionally.- In
serparser
/pktparser
,delete
is used in alloc_heap that uses thenew
operator. - (Reference) However, some parts of the
mwx
library are designed under the assumption thatdelete
is not considered.
- In