|
MC Protocol Serial C++ 0.2.3
MC protocol serial library for MCU-oriented environments
|
This page summarizes the memory-footprint measurements captured on the current reduced and ultra-minimal profiles.
| Profile | MelsecSerialClient size | ESP32-C3 RAM | ESP32-C3 Flash | Mega 2560 RAM | Mega 2560 Flash | RP2040 RAM | RP2040 Flash |
|---|---|---|---|---|---|---|---|
| Full reference sample | 18,984 B | 36,740 B | 289,914 B | - | - | - | - |
| Reduced PlatformIO profile | 2,168 B | 15,868 B | 264,024 B | 6,695 B | 20,806 B | - | - |
| Ultra-minimal PlatformIO profile | 792 B | 14,508 B | 261,046 B | 4,983 B | 18,716 B | 41,512 B | 4,850 B |
The reduced profile:
3C, 2C, 1C, and 1E codec branchescpu-model, and loopbackThe ultra-minimal profile also:
cpu-modelloopback256 / 256 / 128Current compile-time trimming works at these units:
4C / 3C / 2C / 1C / 1E each have their own switchCurrent compile-time trimming does not work at these units:
0403 and drop 1402Jn\\... or only U...IQ-R, Q/L, QnA, and A are still runtime protocol choices, not separate build switchesplatformio.iniinclude/mcprotocol/serial/types.hppCMakeLists.txt through MCPROTOCOL_FEATURE_PROFILE, MCPROTOCOL_BUILD_HOST_SUPPORT, and MCPROTOCOL_BUILD_CLI