cancel
Showing results for 
Search instead for 
Did you mean: 

Enable Counter Driver on zephyr

dotaituan
Visitor

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!

0 REPLIES 0