Hello!
What are the flash/memory requirements for a full thread device operating as an NCP?
I'm building a low cost thread NCP dongle based on the KW21Z, and I wasn't able to find documentation regarding flash/memory requirements. The
platform page link to the porting guide purports to include hardware requirements, but I wasn't able to find any regarding flash/memory sizes. There is
this old discussion that claims Openthread can fit in 80kB of flash and 18kB of RAM, but it seems like this has changed since 2016. When I compile the NCP app for the KW41Z, it appears the code size is much larger than 80kB, closer to 270kB.
arm-none-eabi-size -x ot-ncp-ftd
text data bss dec hex filename
0x3b384 0x278 0x5ed8 267476 414d4 ot-ncp-ftd
Since I'd like the thread dongle to be low cost, I'd like to use the 256kB/64kB configuration of the KW21Z. Based on the current code size of the NCP app however, I don't think it will fit. Is this really how big Openthread is? If so, is there a way to decrease code size to less than 270kB?
Thanks!