boards: sparkfun_thing_plus_nrf9160: Always enable GPIO

The GPIO driver is required by this board's initialization code
(board.c), so it is forced to be enabled always for the board Kconfig,
not only enabled by default (in defconfig).

Fixes: #57890

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2023-05-15 15:25:50 +02:00 committed by Anas Nashif
parent c7af24a065
commit 7c1c619c61
3 changed files with 8 additions and 6 deletions

View file

@ -8,8 +8,16 @@ if SOC_NRF9160_SICA
config BOARD_SPARKFUN_THING_PLUS_NRF9160
bool "Sparkfun nRF9160 Thing Plus"
# The GPIO driver is required by this board's initialization code
# (board.c), so it is forced here to be enabled always, not only
# enabled by default (in defconfig).
select GPIO
config BOARD_SPARKFUN_THING_PLUS_NRF9160_NS
bool "Sparkfun nRF9160 Thing Plus non-secure"
# The GPIO driver is required by this board's initialization code
# (board.c), so it is forced here to be enabled always, not only
# enabled by default (in defconfig).
select GPIO
endif # SOC_NRF9160_SICA

View file

@ -13,9 +13,6 @@ CONFIG_ARM_TRUSTZONE_M=y
# Hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# enable GPIO
CONFIG_GPIO=y
# Enable uart driver
CONFIG_SERIAL=y

View file

@ -16,9 +16,6 @@ CONFIG_TRUSTED_EXECUTION_NONSECURE=y
# Hardware stack protection
CONFIG_HW_STACK_PROTECTION=y
# enable GPIO
CONFIG_GPIO=y
# Enable uart driver
CONFIG_SERIAL=y