Insufficient memory space to add user code at sdk Connect Matter samples

Hi Nordic team

At all Matter samples at ncs2.1.0 with nrf52840, after VS Code building, flash and RAM size were both over 85%.

So, insufficient size was left for user code, something like sensor driver code.

Would you plan to reduce the memory size of Matter samples at next ncs generation?

Thanks

Jeff

  • Hello Jeff,

    We are aware that the size of the Matter samples and applications is very large. I understand that this may cause some trouble when adding functionality to our samples. Note that the size of the sample is smaller when using prj_release.conf instead of prj.conf when building.

    I will ask internally for advice on reducing the size of the application. In the mean time you can build the sample with prj_release.conf as a starting point for the configuration and enable a minimal set with debugging configurations. You can also take a look at the enabled configurations to see if there are any that you don't need for your project. Disabling functionality before adding new one will also be a good way to dedicate the available memory for your application.

    We do not discuss roadmaps on DevZone, so I can't comment on the size of Matter applications in future releases of NCS. If you have any more questions about future plans, please contact your Regional Sales Director. If you don't know who that is: let me know and I will provide you with contact information.

    Kind Regards,
    Maria

Related