-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: gpio_basic_api: add testcase for mr_canhubk3 WKPU
Use the same pins as when testing with SIUL2 EIRQ but instead test with WKPU interrupts. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
tests/drivers/gpio/gpio_basic_api/boards/mr_canhubk3_wkpu.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright 2023 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include <zephyr/dt-bindings/gpio/nxp-s32-gpio.h> | ||
|
||
/ { | ||
resources { | ||
compatible = "test-gpio-basic-api"; | ||
/* Use LPSPI1 MISO/MOSI pins which are also used for spi_loopback test */ | ||
out-gpios = <&gpioa_h 13 0>; | ||
in-gpios = <&gpioa_h 14 NXP_S32_GPIO_INT_WKPU>; | ||
}; | ||
}; | ||
|
||
&wkpu { | ||
status = "okay"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters