Commit e48bb87b authored by Clément Foucher's avatar Clément Foucher
Browse files

Use new module hierarchy for Ngnd Driver.

Added comments to Timer Module CMakeLists.
parent 66efe67f
if(CONFIG_OWNTECH_NGND_DRIVER) if(CONFIG_OWNTECH_NGND_DRIVER)
zephyr_include_directories(.) # Select directory to add to the include path
zephyr_include_directories(./public_include)
# Define the current folder as a Zephyr library
zephyr_library() zephyr_library()
# Select source files to be compiled
zephyr_library_sources( zephyr_library_sources(
owntech_ngnd_driver.c src/owntech_ngnd_driver.c
) )
endif() endif()
config OWNTECH_NGND_DRIVER config OWNTECH_NGND_DRIVER
bool "Enable OwnTech ngnd driver" bool "Enable OwnTech ngnd driver"
default y default y
if(CONFIG_OWNTECH_TIMER_DRIVER) if(CONFIG_OWNTECH_TIMER_DRIVER)
# Select directory to add to the include path
zephyr_include_directories(./public_include) zephyr_include_directories(./public_include)
# Define the current folder as a Zephyr library
zephyr_library() zephyr_library()
# Select source files to be compiled
zephyr_library_sources( zephyr_library_sources(
./src/stm32_timer_driver.c ./src/stm32_timer_driver.c
) )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment