Browse Source

modules: Kconfig: Provide default definitions for modules with blobs

There are HCI drivers which reference the module-specific Kconfig symbols
which are auto-generated when the modules are present. Provide default
definitions for these symbols in case the modules are missing, so that
compliance checking doesn't stumble over seemingly non-existent Kconfig
options.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
pull/78764/head
Johan Hedberg 10 months ago committed by Alberto Escolar
parent
commit
bdcd54e4ca
  1. 6
      modules/Kconfig.esp32
  2. 6
      modules/Kconfig.silabs
  3. 6
      modules/Kconfig.stm32
  4. 3
      modules/hal_infineon/Kconfig

6
modules/Kconfig.esp32

@ -1,6 +1,12 @@ @@ -1,6 +1,12 @@
# Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
config ZEPHYR_HAL_ESPRESSIF_MODULE
bool
config ZEPHYR_HAL_ESPRESSIF_MODULE_BLOBS
bool
config HAS_ESPRESSIF_HAL
bool
depends on SOC_FAMILY_ESPRESSIF_ESP32

6
modules/Kconfig.silabs

@ -3,6 +3,12 @@ @@ -3,6 +3,12 @@
# Copyright (c) 2017, Christian Taedcke
# SPDX-License-Identifier: Apache-2.0
config ZEPHYR_HAL_SILABS_MODULE
bool
config ZEPHYR_HAL_SILABS_MODULE_BLOBS
bool
config HAS_SILABS_GECKO
bool
select HAS_CMSIS_CORE

6
modules/Kconfig.stm32

@ -3,6 +3,12 @@ @@ -3,6 +3,12 @@
# Copyright (c) 2016 Linaro Limited.
# SPDX-License-Identifier: Apache-2.0
config ZEPHYR_HAL_STM32_MODULE
bool
config ZEPHYR_HAL_STM32_MODULE_BLOBS
bool
config HAS_STM32LIB
bool

3
modules/hal_infineon/Kconfig

@ -4,6 +4,9 @@ @@ -4,6 +4,9 @@
config ZEPHYR_HAL_INFINEON_MODULE
bool
config ZEPHYR_HAL_INFINEON_MODULE_BLOBS
bool
if SOC_FAMILY_INFINEON_CAT1 || SOC_FAMILY_PSOC6_LEGACY
config USE_INFINEON_ADC

Loading…
Cancel
Save