I am reaching out to report a persistent bug I've encountered in a larger project. The issue specifically arises when combining the CONFIG_I2C setting with ECDSA, in a non-secure build, resulting in the board failing to post on the nRF5340.
Detailed Steps to Reproduce the Bug:
- Download the ECDSA example from the following path: /nrf/samples/crypto/ecdsa, located within ncs/v2.5.0.
- Modify the configuration by adding “CONFIG_I2C=y”.
- Build using non_secure and flash the modified setup onto the board.
After completing these steps, the system exhibits no output on any VCOM(n) channels. Interestingly, this problem does not occur when not using the non-secure build.
I am seeking assistance to understand why this conflict occurs and how to resolve it. Specifically, I need guidance on how to successfully run the system with the CONFIG_I2C configuration enabled alongside ECDSA in a non-secure building environment.
Edit:
After further investigation and testing, I have identified that the conflict arises specifically between the following two configurations:
CONFIG_I2C=y
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y
These two configurations appear to be incompatible with each other, leading to the aforementioned issue. Any insights or solutions regarding this specific conflict would be greatly appreciated.