Skip to content

Commit 8bea756

Browse files
ajf58kartben
authored andcommitted
tests: drivers: adc_api: Add support for the Raspberry Pi Pico 2
For these tests' needs, the RP2350 on the Pico 2 is compatible with the RP2040 on the Pico 1. #include the latter's overlay in preference to duplicating the content. Signed-off-by: Andrew Featherstone <[email protected]>
1 parent d2c6164 commit 8bea756

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*
4+
* Copyright (c) 2024 Andrew Featherstone <[email protected]>
5+
*/
6+
7+
/* Pico 2 is compatible with the Pico 1, so reuse. */
8+
#include "rpi_pico.overlay"
9+
10+
&adc {
11+
status = "okay";
12+
};

0 commit comments

Comments
 (0)