zephyr/boards/arm/beagle_bcf/beagleconnect_freedom_defconfig
Patryk Duda 5ec4aaff5c boards: beagle_bcf: Fix undefined references to pinctrl and gpio device
This patch fixes undefined references when compiling tests/drivers/flash
for beagleconnect_freedom board using following command:

west build -b beagleconnect_freedom tests/drivers/flash

Adding CONFIG_PINCTRL fixes undefined references to
'pinctrl_lookup_state' and 'pinctrl_configure_pins'.

Adding CONFIG_GPIO fixes undefined reference to '__device_dts_ord_13'
from spi_nor and spi_cc13xx_cc26xx drivers.

Fixes #56181

Signed-off-by: Patryk Duda <pdk@semihalf.com>
2023-03-28 09:56:56 +02:00

23 lines
610 B
Plaintext

#
# Copyright (c) 2020 Erik Larson
# Copyright (c) 2020 Jason Kridner, BeagleBoard.org Foundation
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_GPIO=y
CONFIG_PINCTRL=y
CONFIG_SOC_SERIES_CC13X2X7_CC26X2X7=y
CONFIG_SOC_CC1352P7=y
CONFIG_BOARD_BEAGLECONNECT_FREEDOM=y
CONFIG_BUILD_OUTPUT_HEX=y
# custom callback for the antenna switch
CONFIG_CC13X2_CC26X2_HAS_CUSTOM_RF_HWATTRS=y
CONFIG_CC13X2_CC26X2_BOOTLOADER_ENABLE=y
CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE=y
CONFIG_CC13X2_CC26X2_BOOTLOADER_BACKDOOR_PIN=15
# Enable MPU and hardware stack protection
CONFIG_ARM_MPU=y
CONFIG_HW_STACK_PROTECTION=y