I think there is a bug in the west tool. If only one -Dxxxx=”xx.h" parameter in the command-line, the quotes will be filtered. So update the "nrfxlib\nrf_security\src\mbedtls\shared\CMakeLists.txt" , add a ‘NONE’ micro into the command-line:
- target_compile_definitions(mbedcrypto_shared PRIVATE
- MBEDTLS_CONFIG_FILE="nrf-config-noglue.h"
- )
+ target_compile_definitions(mbedcrypto_shared PRIVATE
+ NONE PRIVATE MBEDTLS_CONFIG_FILE="nrf-config-noglue.h"
+ )
it looks work for me