Part Number: MSP432E401Y
Hi, my application uses the NDK httpClient library to post requests to a web service over the Ethernet connection for the MSP432E401Y chip. Recently I switched from NDK non-secure to secure and the flash memory footprint of my application swelled from approximately 100kbytes to a whopping 400kbytes!. This happened by simply switching
status = SlNetIf_add(SLNETIF_ID_2, "eth0", (const SlNetIf_Config_t *)&SlNetIfConfigNDK, IFPRI);
to
status = SlNetIf_add(SLNETIF_ID_2, "eth0", (const SlNetIf_Config_t *)&SlNetIfConfigNDKSec, IFPRI);
in my ethernet hooks netIPAddrHook function.
I reviewed the NDK Users Guide and verified that I am linking to the minimal NDK library builds. According to the mbed TLS web site (which according to the NDK Users Guide is used by the SDK for TLS comms), the memory footprint for this library should be small (between 25k - 100k) so why does the code footprint increase by almost 4x when I switch to the secure stack library? Is there any way to reduce the code footprint size?
Here are the versions of the products I am using:
CCS version 9.2.0.00013
SimpleLink SDK v3.20.0.10