Skip to content

Commit cfbe028

Browse files
committed
samples: driver: crypto: add ESP32 AES compat
Allow ESP32 SoCs to run AES sample. Signed-off-by: Sylvio Alves <[email protected]>
1 parent 42778a8 commit cfbe028

File tree

1 file changed

+2
-0
lines changed
  • samples/drivers/crypto/src

1 file changed

+2
-0
lines changed

samples/drivers/crypto/src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ LOG_MODULE_REGISTER(main);
3232
#define CRYPTO_DEV_COMPAT ti_cc23x0_aes
3333
#elif CONFIG_CRYPTO_SI32
3434
#define CRYPTO_DEV_COMPAT silabs_si32_aes
35+
#elif CONFIG_CRYPTO_ESP32_AES
36+
#define CRYPTO_DEV_COMPAT espressif_esp32_aes
3537
#else
3638
#error "You need to enable one crypto device"
3739
#endif

0 commit comments

Comments
 (0)