Skip to content

Commit 639ed1c

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 0b6b3b6 commit 639ed1c

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
@@ -15,6 +15,8 @@
1515
#define CRYPTO_DEV_COMPAT renesas_smartbond_crypto
1616
#elif DT_HAS_COMPAT_STATUS_OKAY(st_stm32_hash)
1717
#define CRYPTO_DEV_COMPAT st_stm32_hash
18+
#elif DT_HAS_COMPAT_STATUS_OKAY(raspberrypi_pico_sha256)
19+
#define CRYPTO_DEV_COMPAT raspberrypi_pico_sha256
1820
#else
1921
#error "You need to enable one crypto device"
2022
#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)