添加 Kconfig 样例,添加基础的板及配置
This commit is contained in:
13
app/led_strip/Kconfig
Normal file
13
app/led_strip/Kconfig
Normal file
@@ -0,0 +1,13 @@
|
||||
config LED_STRIP_MAX_LEDS
|
||||
depends on CAP_LED_STRIP
|
||||
int "最大灯珠数"
|
||||
range 1 164
|
||||
default 88
|
||||
|
||||
config LED_STRIP_DEFAULT_LEDS
|
||||
depends on CAP_LED_STRIP
|
||||
int "默认灯珠数"
|
||||
range 1 LED_STRIP_MAX_LEDS
|
||||
default LED_STRIP_MAX_LEDS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user