1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/ws281x: Fix Kconfig

Patch from https://github.com/RIOT-OS/RIOT/pull/19891#pullrequestreview-1753651538
This commit is contained in:
MrKevinWeiss 2023-12-01 14:15:05 +01:00
parent d86405cef4
commit 7b80348f31
No known key found for this signature in database
GPG Key ID: C26684F1C0767FFF
6 changed files with 35 additions and 0 deletions

View File

@ -16,6 +16,7 @@ config CPU_FAM_NRF53
select HAS_PERIPH_GPIO
select HAS_PERIPH_GPIO_IRQ
select HAS_PERIPH_TIMER_PERIODIC
select HAS_PERIPH_TIMER_POLL
select HAS_PERIPH_TIMER_QUERY_FREQS
select HAS_PERIPH_UART_MODECFG
select HAS_PERIPH_WDT

View File

@ -17,6 +17,7 @@ config CPU_FAM_NRF9160
select HAS_PERIPH_GPIO_LL_IRQ
select HAS_PERIPH_GPIO_LL_IRQ_UNMASK
select HAS_PERIPH_TIMER_PERIODIC
select HAS_PERIPH_TIMER_POLL
select HAS_PERIPH_TIMER_QUERY_FREQS
select HAS_PERIPH_UART_MODECFG
select HAS_PERIPH_SPI_GPIO_MODE

View File

@ -78,6 +78,8 @@ rsource "Kconfig.flashpage"
rsource "Kconfig.gpio"
rsource "Kconfig.gpio_ll"
config MODULE_PERIPH_HWRNG
bool "HWRNG peripheral driver"
depends on HAS_PERIPH_HWRNG
@ -157,6 +159,12 @@ config MODULE_PERIPH_INIT_RTT
default y if MODULE_PERIPH_INIT
depends on MODULE_PERIPH_RTT
config MODULE_PERIPH_TIMER_POLL
bool "Timer poll"
depends on HAS_PERIPH_TIMER_POLL
help
Enables the timer_poll_channel function.
rsource "Kconfig.sdmmc"
rsource "Kconfig.spi"

View File

@ -0,0 +1,22 @@
# Copyright (c) 2023 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menuconfig MODULE_PERIPH_GPIO_LL
bool "Low-level GPIO peripheral driver"
depends on HAS_PERIPH_GPIO_LL
if MODULE_PERIPH_GPIO_LL
config MODULE_PERIPH_GPIO_LL_IRQ_UNMASK
bool "Unmask GPIO peripheral interrupts"
default y
depends on HAS_PERIPH_GPIO_LL_IRQ_UNMASK
help
Enables GPIO peripheral unmasking interrupts without
clearing pending IRQs that came in while masked.
endif # MODULE_PERIPH_GPIO_LL

View File

@ -49,7 +49,9 @@ config MODULE_WS281X_ESP32_SW
config MODULE_WS281X_TIMER_GPIO_LL
bool
depends on HAS_PERIPH_TIMER_POLL
select MODULE_PERIPH_TIMER_POLL
depends on HAS_PERIPH_GPIO_LL
select MODULE_PERIPH_GPIO_LL
help
Use a platform independent bit-banging software implementation to
generate the RGB LED signal.

View File

@ -47,6 +47,7 @@ PERIPH_IGNORE_MODULES := \
periph_rtt_hw_rtc \
periph_rtt_hw_sys \
periph_spi_on_qspi \
periph_timer_poll \
periph_timer_query_freqs \
periph_uart_collision \
periph_uart_rxstart_irq \