1572594b53
Add sample application for TI LP3943 LED driver. This application displays a continuous pattern that turns on 16 LEDs at 1s one by one until it reaches the end and turns off LEDs in reverse order. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
14 lines
393 B
CMake
14 lines
393 B
CMake
macro(set_conf_file)
|
|
if(EXISTS ${APPLICATION_SOURCE_DIR}/boards/${BOARD}.conf)
|
|
set(CONF_FILE "prj.conf ${APPLICATION_SOURCE_DIR}/boards/${BOARD}.conf")
|
|
else()
|
|
set(CONF_FILE "prj.conf")
|
|
endif()
|
|
endmacro()
|
|
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
|
project(NONE)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|