Skip to content

Commit a84e730

Browse files
committed
tests: crypto: crypto_hash: Add rpi_pico2 to test target
Add rpi_pico2 to the crypto_hash test target. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent c5427d5 commit a84e730

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (c) 2025 TOKITA Hiroshi
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&sha256 {
8+
status = "okay";
9+
};

tests/crypto/crypto_hash/src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#define CRYPTO_DEV_COMPAT espressif_esp32_sha
2222
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_s32_crypto_hse_mu)
2323
#define CRYPTO_DEV_COMPAT nxp_s32_crypto_hse_mu
24+
#elif DT_HAS_COMPAT_STATUS_OKAY(raspberrypi_pico_sha256)
25+
#define CRYPTO_DEV_COMPAT raspberrypi_pico_sha256
2426
#else
2527
#error "You need to enable one crypto device"
2628
#endif

tests/crypto/crypto_hash/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ tests:
33
platform_allow:
44
- native_sim
55
- nucleo_u575zi_q
6+
- rpi_pico2/rp2350a/m33
67
integration_platforms:
78
- native_sim
89
- nucleo_u575zi_q

0 commit comments

Comments
 (0)