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

Use new module hierarchy for Timer Driver.

parent e8b3e8c7
if(CONFIG_OWNTECH_TIMER_DRIVER)
zephyr_include_directories(.)
zephyr_include_directories(./public_include)
zephyr_library()
zephyr_library_sources(
stm32_timer_driver.c
./src/stm32_timer_driver.c
)
endif()
config OWNTECH_TIMER_DRIVER
bool "Enable timer driver by OwnTech (only STM32 timer partial support for now)"
default y
......
......@@ -72,7 +72,7 @@ static const struct timer_driver_api timer_funcs =
{
.config = timer_stm32_config,
.start = timer_stm32_start,
.get_count = timer_stm32_get_count,
.get_count = timer_stm32_get_count
};
void timer_stm32_config(const struct device* dev, const struct timer_config_t* config)
......
Markdown is supported
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