This is an automated email from the ASF dual-hosted git repository.
jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new 20ce387 stm32: Add missing package when RTC is used for systick
20ce387 is described below
commit 20ce3872358811769297d28dfdd3c9f72a96b724
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Mon Jan 3 09:07:20 2022 +0100
stm32: Add missing package when RTC is used for systick
When OS_TICKS_USE_RTC is 1 hal_os_tick.c includes datetime/datetime.h
but appropriate package was not added now it is added when required.
---
hw/mcu/stm/stm32_common/pkg.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/mcu/stm/stm32_common/pkg.yml b/hw/mcu/stm/stm32_common/pkg.yml
index 11df856..d2e80da 100644
--- a/hw/mcu/stm/stm32_common/pkg.yml
+++ b/hw/mcu/stm/stm32_common/pkg.yml
@@ -27,6 +27,8 @@ pkg.keywords:
pkg.deps:
- "@apache-mynewt-core/hw/hal"
- "@apache-mynewt-core/hw/cmsis-core"
+pkg.deps.OS_TICKS_USE_RTC:
+ - "@apache-mynewt-core/time/datetime"
pkg.deps.UART_0:
- "@apache-mynewt-core/hw/drivers/uart/uart_hal"