drivers: watchdog: Enable Gecko wdt driver efr32bg_sltb010a
This commit enables the Gecko Watchdog Timer driver on the efr32bg_sltb010 board. Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
This commit is contained in:
parent
ee9903005a
commit
5744709c9c
3 changed files with 16 additions and 2 deletions
|
@ -254,10 +254,10 @@ static int wdt_gecko_init(const struct device *dev)
|
|||
/* Enable ULFRCO (1KHz) oscillator */
|
||||
CMU_OscillatorEnable(cmuOsc_ULFRCO, true, false);
|
||||
|
||||
#if !defined(_SILICON_LABS_32B_SERIES_2)
|
||||
/* Ensure LE modules are clocked */
|
||||
CMU_ClockEnable(config->clock, true);
|
||||
#else
|
||||
|
||||
#if defined(_SILICON_LABS_32B_SERIES_2)
|
||||
CMU_ClockSelectSet(config->clock, cmuSelect_ULFRCO);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue