We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42ad39b commit ff5a458Copy full SHA for ff5a458
drivers/timer/CMakeLists.txt
@@ -2,6 +2,7 @@
2
3
zephyr_library()
4
zephyr_library_sources(sys_clock_init.c)
5
+zephyr_library_sources_ifdef(CONFIG_LLEXT export.c)
6
zephyr_library_sources_ifdef(CONFIG_ALTERA_AVALON_TIMER altera_avalon_timer_hal.c)
7
zephyr_library_sources_ifdef(CONFIG_AMBIQ_STIMER_TIMER ambiq_stimer.c)
8
zephyr_library_sources_ifdef(CONFIG_APIC_TIMER apic_timer.c)
drivers/timer/export.c
@@ -0,0 +1,13 @@
1
+/*
+ * Copyright (c) 2024 Intel Corporation
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+#include <zephyr/drivers/timer/system_timer.h>
+#include <zephyr/llext/symbol.h>
9
+#include <limits.h>
10
11
+#ifdef CONFIG_TIMER_HAS_64BIT_CYCLE_COUNTER
12
+EXPORT_SYMBOL(sys_clock_cycle_get_64);
13
+#endif
0 commit comments