2025-02-10 05:54 PM - last edited on 2025-02-11 12:33 AM by Peter BENSCH
Hi Everyone
I face other problem of Counter driver on zephyr for STM32MP157 DK2 kit
Here is dts:
&timers5 {
status = "okay";
counter {
compatible = "st,stm32-counter";
status = "okay";
};
};
and prj config:
CONFIG_COUNTER=y
I face problem:
zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: app/libapp.a(main.c.obj): in function z_impl_counter_get_frequency': /home/dotaituan/Documents/2nd_LEAPS/03_git/134-zephyr/zephyr/include/zephyr/drivers/counter.h:301: undefined reference to __device_dts_ord_66' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
Anyone could help?
Thank you so much!