Added support for WDT (untested). Checked datasheet for maximum LSI frequency

pull/12482/head
George Beckstein 2020-02-20 10:49:40 -05:00
parent 143a54922d
commit 80c5d96420
2 changed files with 1 additions and 2 deletions

View File

@ -138,7 +138,7 @@ watchdog_features_t hal_watchdog_get_platform_features(void)
features.clock_max_frequency = 50000;
#elif defined(STM32H7) || defined(STM32L4) || defined(STM32WB)
features.clock_max_frequency = 33600;
#elif defined(STM32G0) || defined(STM32L5)
#elif defined(STM32G0) || defined(STM32L5) || defined(STM32G4)
features.clock_max_frequency = 34000;
#else
#error "unsupported target"

View File

@ -7576,7 +7576,6 @@
"SPI",
"SPISLAVE",
"SPI_ASYNCH",
"WATCHDOG",
"RESET_REASON"
],
"detect_code": [