Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xtensa/espressif/rmt: Implement a common RMT (Remote Control) driver for xtensa-based devices. #11428

Merged
2 changes: 1 addition & 1 deletion Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@ endif # DEBUG_REGMAP
config DEBUG_RMT
bool "RMT Debug Features"
default n
depends on ESP32_RMT
depends on RMT
---help---
Enable RMT debug features.

Expand Down
2 changes: 1 addition & 1 deletion arch/risc-v/src/espressif/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ endif

ESP_HAL_3RDPARTY_REPO = esp-hal-3rdparty
ifndef ESP_HAL_3RDPARTY_VERSION
ESP_HAL_3RDPARTY_VERSION = 2fbc8a025275d68833cdfef490377048538de57a
ESP_HAL_3RDPARTY_VERSION = 22804823777dbbb7f43925b7729b3a32331aa7cd
endif

ifndef ESP_HAL_3RDPARTY_URL
Expand Down
1 change: 1 addition & 0 deletions arch/xtensa/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ endif

VPATH += chip
VPATH += common
VPATH += common/espressif
VPATH += $(ARCH_SUBDIR)
VPATH += $(CHIP_DIR)

Expand Down
7 changes: 7 additions & 0 deletions arch/xtensa/src/common/espressif/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
config ESP_RMT
bool "Remote Control Module (RMT)"
default n
depends on RMT
---help---
Remote Control Module is currently used to control WS2812
RGB LED normally used on LED strips.
26 changes: 26 additions & 0 deletions arch/xtensa/src/common/espressif/Make.defs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
############################################################################
# arch/xtensa/src/common/espressif/Make.defs
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
# ASF licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
############################################################################

ifeq ($(CONFIG_ESP_RMT),y)
CHIP_CSRCS += esp_rmt.c
ifeq ($(CONFIG_WS2812_NON_SPI_DRIVER),y)
CHIP_CSRCS += esp_ws2812.c
endif
endif
Loading
Loading