samples: drivers: counter: Enable it for MAX32 MCUs
MAX32 MCUs counter node added in main.c Signed-off-by: Anıl Kara <anil.kara@analog.com>
This commit is contained in:
parent
6e36e9bfae
commit
3b81b4e60d
@ -53,6 +53,8 @@ struct counter_alarm_cfg alarm_cfg;
|
||||
#define TIMER DT_NODELABEL(timer0)
|
||||
#elif defined(CONFIG_COUNTER_TIMER_RPI_PICO)
|
||||
#define TIMER DT_NODELABEL(timer)
|
||||
#elif defined(CONFIG_COUNTER_TIMER_MAX32)
|
||||
#define TIMER DT_NODELABEL(counter0)
|
||||
#else
|
||||
#error Unable to find a counter device node in devicetree
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user