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:
parent
44e9f2ca8f
commit
aca7f0d996
2 changed files with 11 additions and 0 deletions
9
samples/drivers/crypto/boards/da1469x_dk_pro.overlay
Normal file
9
samples/drivers/crypto/boards/da1469x_dk_pro.overlay
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Renesas Electronics Corporation
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
&crypto {
|
||||||
|
status = "okay";
|
||||||
|
};
|
|
@ -29,6 +29,8 @@ LOG_MODULE_REGISTER(main);
|
||||||
#define CRYPTO_DEV_COMPAT nxp_mcux_dcp
|
#define CRYPTO_DEV_COMPAT nxp_mcux_dcp
|
||||||
#elif CONFIG_CRYPTO_NRF_ECB
|
#elif CONFIG_CRYPTO_NRF_ECB
|
||||||
#define CRYPTO_DEV_COMPAT nordic_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
|
#else
|
||||||
#error "You need to enable one crypto device"
|
#error "You need to enable one crypto device"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue