my cortex M7 has to parse SDP packets, for which I have the grammar. I can’t use flex/bison because I don’t have the libraries (e.g., libfl.a) compiled for cortex M. Is this correct? Are there ways to use them anyway? What other parser generator could I use? The constraints for the generated code are:
malloc()
pvPortMalloc()
qprintf()
I don’t know ANTLR, would that be okay?
best regards Max
I'm not aware of such a tool, but the Arm Compiler for Embedded can be configured to support a number of C standards, and so whichever language your tool generates, it should be supported:https://developer.arm.com/documentation/101754/0620/armclang-Reference/armclang-Command-line-Options/-std