Crypto build error when using nRF7002EK in Zephyr 4.1

Hi,

I receive the following build error: "../zephyr-project-v4.1.0/modules/crypto/mbedtls/include/mbedtls/check_config.h:96:2: error: #error "Unsupported partial support for ECC curves acceleration, see docs/driver-only-builds.md"

Target MCU: STM32H755 with BLE shield, but same happens when target is nRF5340.

Steps to reproduce

The easiest way to reproduce the build error without too many modifications:

  1. Use peripheral_hr as sample project
  2. In CMakeList add set(SHIELD nrf7002ek) or use the shield argument in west
  3. In prj.conf add CONFIG_NETWORKING=y and CONFIG_WIFI=y
  4. Build for nrf5340dk/nrf5340/cpuapp

Observe build error.

When i'm building for ncs 3.0, I don't get the error, not sure if the CONFIG_MBEDTLS_LEGACY_CRYPTO_C ensure that PSA and MBEDTLS work together or what causes the difference.

I assume that since nRF7002 is part of plain Zephyr, that you have some interest for it to work with other MCU's.

I have also created a ticket on Zephyr as i don't know who has the responsible of fixing this.

https://github.com/zephyrproject-rtos/zephyr/issues/92157 

Parents Reply Children
Related