tests gpio_basic_api: Enable for nrf5340bsim
Enable this test, and provide overlays, in the nrf5340bsim Note this test specs 2 GPIO pins to be shorted. This can be done for the simulation target by calling zephyr.exe with the option `-gpio_conf_file=shorts_config.txt` Where that file would contain this one line (for the provided overlay), for the cpunet: ---- shorts_config.txt short 1.1 1.2 ---- And this for the cpuapp: ---- shorts_config.txt short 3.1 3.2 ---- Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
8bd0a2525c
commit
14c096ff38
5 changed files with 22 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
CONFIG_SKIP_PULL_TEST=y
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "nrf52_bsim.overlay"
|
|
@ -0,0 +1 @@
|
|||
CONFIG_SKIP_PULL_TEST=y
|
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "nrf52_bsim.overlay"
|
|
@ -13,7 +13,12 @@ tests:
|
|||
filter: dt_compat_enabled("test-gpio-basic-api") and not dt_compat_enabled("arduino-header-r3")
|
||||
|
||||
drivers.gpio.nrf_sense_edge:
|
||||
platform_allow: nrf52840dk/nrf52840 nrf52_bsim nrf54l15bsim/nrf54l15/cpuapp
|
||||
platform_allow:
|
||||
- nrf52840dk/nrf52840
|
||||
- nrf52_bsim
|
||||
- nrf5340bsim/nrf5340/cpuapp
|
||||
- nrf5340bsim/nrf5340/cpunet
|
||||
- nrf54l15bsim/nrf54l15/cpuapp
|
||||
extra_args: "DTC_OVERLAY_FILE=boards/nrf52840dk_nrf52840.overlay;\
|
||||
boards/nrf52840dk_nrf52840_sense_edge.overlay"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue