This is the multi-page printable view of this section. Click here to print...

Return to the regular view of this page

As of 2025-07-24

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 the new operator.
      • (Reference) However, some parts of the mwx library are designed under the assumption that delete is not considered.