File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
samples/drivers/counter/alarm Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1+ &timers2 {
2+ st,prescaler = <83>;
3+ counter {
4+ status = "okay";
5+ };
6+ };
Original file line number Diff line number Diff line change 99 bl5340_dvk_cpuapp gd32e103v_eval gd32e507z_eval
1010 gd32f403z_eval gd32f450i_eval gd32f450z_eval
1111 gd32e507v_start gd32f407v_start gd32f450v_start
12- gd32f470i_eval
12+ gd32f470i_eval stm32h735g_disco
1313 integration_platforms :
1414 - nucleo_f746zg
1515 harness_config :
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ struct counter_alarm_cfg alarm_cfg;
2323#define TIMER DT_NODELABEL(extrtc0)
2424#elif defined(CONFIG_COUNTER_RTC0 )
2525#define TIMER DT_NODELABEL(rtc0)
26+ #elif defined(CONFIG_COUNTER_TIMER_STM32 )
27+ #define TIMER DT_INST(0, st_stm32_counter)
2628#elif defined(CONFIG_COUNTER_RTC_STM32 )
2729#define TIMER DT_INST(0, st_stm32_rtc)
2830#elif defined(CONFIG_COUNTER_NATIVE_POSIX )
You can’t perform that action at this time.
0 commit comments