Memory requirements

RAM and flash memories are often the most critical resources of a microcontroller. A larger library footprint can require a switch to a more expensive microcontroller with more memory.

With ocrypto, the crypto code needed for a HomeKit Light Bulb profile implementation requires the following memory for a Cortex-M4F core (all numbers in bytes):

  • code size: 18,600
  • static variables: 0
  • stack size: 3,236