samples: drivers: crypto: Add support for Smartbond Pro DevKit

This commit should add support for the DA1469x Pro DevKit.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
This commit is contained in:
Ioannis Karachalios 2024-05-17 18:54:24 +03:00 committed by David Leach
commit aca7f0d996
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,9 @@
/*
* Copyright (c) 2023 Renesas Electronics Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
&crypto {
status = "okay";
};

View file

@ -29,6 +29,8 @@ LOG_MODULE_REGISTER(main);
#define CRYPTO_DEV_COMPAT nxp_mcux_dcp
#elif CONFIG_CRYPTO_NRF_ECB
#define CRYPTO_DEV_COMPAT nordic_nrf_ecb
#elif DT_HAS_COMPAT_STATUS_OKAY(renesas_smartbond_crypto)
#define CRYPTO_DEV_COMPAT renesas_smartbond_crypto
#else
#error "You need to enable one crypto device"
#endif