Skip to content
Commit f9809a0a authored by Ben Marsh's avatar Ben Marsh Committed by Fabio Baltieri
Browse files

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.

Signed-off-by: default avatarBen Marsh <ben.marsh@helvar.com>
parent 385ceb71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment