test gpio_basic_api: Enable for nrf52_bsim

Add DT and kconfig overlays for the nrf52_bsim so this test can be run
in this board too.
This simulated board supports short-circuiting pins
either programmatically or thru configuration files,
but it does not support a pull in an input being able to drag
a non driven output, so we need to skip the pull test.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-06-30 16:32:00 +02:00 committed by Carles Cufí
commit 081c4647cd
4 changed files with 25 additions and 1 deletions

View file

@ -13,6 +13,6 @@ tests:
filter: dt_compat_enabled("test-gpio-basic-api")
drivers.gpio.nrf_sense_edge:
platform_allow: nrf52840dk_nrf52840
platform_allow: nrf52840dk_nrf52840 nrf52_bsim
extra_args: "DTC_OVERLAY_FILE=boards/nrf52840dk_nrf52840.overlay;\
boards/nrf52840dk_nrf52840_sense_edge.overlay"