Code size analysis#
pw_hdlc: Simple, robust, and efficient serial communication
pw_hdlc currently optimizes for robustness and flexibility instead of
binary size or performance.
HDLC encode and decode size report shows the cost of everything needed
pw_hdlc, including the dependencies on common modules like CRC32
from pw_checksum and variable-length integer handling from
HDLC encode and decode, ignoring CRC and varint size report shows the
pw_hdlc if your application is already linking CRC32 and
variable-length integer handling.
pw_varint is commonly used since it’s
necessary for protocol buffer handling, so it’s often already present.
HDLC encode and decode
HDLC encode and decode, ignoring CRC and varint