boards: arm: pinetime: Fix minimal sample build

The board specific driver for `pinetime_devkit0` has a requirement for
`CONFIG_GPIO` that was not documented. With this fix the minimal sample
build successful.

Signed-off-by: Casper Meijn <casper@meijn.net>
This commit is contained in:
Casper Meijn 2022-03-27 14:12:44 +02:00 committed by Maureen Helm
commit 76c841ccd2

View file

@ -1,5 +1,7 @@
# Copyright (c) 2021 Casper Meijn <casper@meijn.net
# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_sources(key_out.c)
if(CONFIG_GPIO)
zephyr_library()
zephyr_library_sources(key_out.c)
endif()