Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
subsys/mgmt/mcumgr: Reduce unnecessary ROM usage
mcumgr's SMP UDP transport was unnecessarily using a potentially large amount of ROM space due to static initialising fields in a config struct that also contains buffers/stacks. This has been changed to instead initialise fields in the start function, reducing ROM usage by ~5K in the default configuration with IPv4 and IPv6 enabled. (cherry picked from commit f9809a0) Original-Signed-off-by: Ben Marsh <ben.marsh@helvar.com> GitOrigin-RevId: f9809a0 Change-Id: I34e9b2cdd378a94b9c79a400d17e19fc205c04b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4995672 Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com> Tested-by: Fabio Baltieri <fabiobaltieri@google.com> Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com> Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
- Loading branch information