Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Luiz Fernando Lavado Villa
Core
Commits
66efe67f
Commit
66efe67f
authored
Jul 09, 2021
by
Clément Foucher
Browse files
Use new module hierarchy for Timer Driver.
parent
e8b3e8c7
Changes
5
Hide whitespace changes
Inline
Side-by-side
zephyr/modules/owntech_timer_driver/zephyr/CMakeLists.txt
View file @
66efe67f
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
()
zephyr/modules/owntech_timer_driver/zephyr/Kconfig
View file @
66efe67f
config OWNTECH_TIMER_DRIVER
bool "Enable timer driver by OwnTech (only STM32 timer partial support for now)"
default y
...
...
zephyr/modules/owntech_timer_driver/zephyr/timer.h
→
zephyr/modules/owntech_timer_driver/zephyr/
public_include/
timer.h
View file @
66efe67f
File moved
zephyr/modules/owntech_timer_driver/zephyr/stm32_timer_driver.c
→
zephyr/modules/owntech_timer_driver/zephyr/
src/
stm32_timer_driver.c
View file @
66efe67f
...
...
@@ -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
)
...
...
zephyr/modules/owntech_timer_driver/zephyr/stm32_timer_driver.h
→
zephyr/modules/owntech_timer_driver/zephyr/
src/
stm32_timer_driver.h
View file @
66efe67f
File moved
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment