Skip to content

Commit

Permalink
modules: Kconfig: Provide default definitions for modules with blobs
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jhedberg authored and aescolar committed Sep 16, 2024
1 parent 13ff70a commit bdcd54e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/Kconfig.esp32
Original file line number Diff line number Diff line change
@@ -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 changes: 6 additions & 0 deletions modules/Kconfig.silabs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions modules/Kconfig.stm32
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions modules/hal_infineon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdcd54e

Please sign in to comment.