-
Notifications
You must be signed in to change notification settings - Fork 48
Code Footprint
Final code footprint depends on many factors, such as target compiler, compilation flags; e.g. with or without code optimization, used applications, third-party crypto library to support the shielded communication, usage of the shielded communication itself, or I2C frame buffer size.
For the table below we used DAVE™ build-in compiler (ARM GCC) for the XMC4800 IoT Connectivity Kit. All numbers are aprox. The setup based on the Get Started Guide (SHA Fingerprint b6ae6d8).
The following generated map files were used for calculations:
- All Functions, -s Optimisation
- All Functions, -s Optimisation, No RSA Support
- All Functions, -s Optimisation, No RSA Support, No Shielded Communication
A generic module | FLASH/RAM in kB | Part of the module | FLASH in kB | RAM1 in kB |
---|---|---|---|---|
OPTIGA™ Trust M hostcode | 25.2 / 11.5 3 | Core Functions3 | 2.7 | 2.9 |
ECC + Protected Update + RND + TLS PRF | 5.2 | |||
RSA | 1.4 | |||
Infineon I2C protocol3 | 3.7 | |||
Shielded Connection + 3rd party crypto | 4 + 8.2 | 8.6 |
1 Compile time memory allocation (.bss and .data sections, no heap included if it's used)
2 Values include all features and mbed TLS as the third-party crypto provider
3 Mandatory modules, all others are optional.