Skip to content

Commit e659f78

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 6455ef0 commit e659f78

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
@@ -17,6 +17,8 @@
1717
#define CRYPTO_DEV_COMPAT st_stm32_hash
1818
#elif DT_HAS_COMPAT_STATUS_OKAY(espressif_esp32_sha)
1919
#define CRYPTO_DEV_COMPAT espressif_esp32_sha
20+
#elif DT_HAS_COMPAT_STATUS_OKAY(raspberrypi_pico_sha256)
21+
#define CRYPTO_DEV_COMPAT raspberrypi_pico_sha256
2022
#else
2123
#error "You need to enable one crypto device"
2224
#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)