Skip to content

Commit e75befe

Browse files
author
Sven Hädrich
committed
drivers; dali: Add driver for NXP LPC11U68
1 parent ef2652d commit e75befe

File tree

8 files changed

+1762
-0
lines changed

8 files changed

+1762
-0
lines changed

drivers/dali/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33

44
zephyr_library()
55
# zephyr-keep-sorted-start
6+
zephyr_library_sources_ifdef(CONFIG_DALI_LPC11U6X dali_lpc11u6x.c)
67
# zephyr-keep-sorted-stop

drivers/dali/Kconfig

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ config DALI_MAX_FRAMES_IN_QUEUE
1717
help
1818
How many frames should be buffered in the recv queue
1919

20+
source "drivers/dali/Kconfig.lpc11u6x"
21+
2022
module = DALI_LOW_LEVEL
2123
module-str = dali_low_level
2224
source "subsys/logging/Kconfig.template.log_config"

drivers/dali/Kconfig.lpc11u6x

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# LPC11U6x DALI configuration options
2+
3+
# Copyright (c) 2025 by Sven Hädrich <[email protected]>
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
config DALI_LPC11U6X
7+
bool "LPC11U6x DALI driver"
8+
default y
9+
depends on DT_HAS_NXP_DALI_LPC11U6X_ENABLED
10+
help
11+
Enable the DALI driver for LPC11U6X MCUs.
12+
13+
config DALI_LPC11U6X_PRIORITY
14+
int "DALI workqueue priority"
15+
depends on DT_HAS_NXP_DALI_LPC11U6X_ENABLED
16+
default 5
17+
help
18+
The priority of the workqueue used for the DALI driver.
19+
20+
config DALI_LPC11U6X_STACK_SIZE
21+
int "DALI driver workqueue thread stack size"
22+
depends on DT_HAS_NXP_DALI_LPC11U6X_ENABLED
23+
default 768
24+
help
25+
The thread stack size.

0 commit comments

Comments
 (0)