mirror of https://github.com/ARMmbed/mbed-os.git
Added support for WDT (untested). Checked datasheet for maximum LSI frequency
parent
143a54922d
commit
80c5d96420
|
|
@ -138,7 +138,7 @@ watchdog_features_t hal_watchdog_get_platform_features(void)
|
||||||
features.clock_max_frequency = 50000;
|
features.clock_max_frequency = 50000;
|
||||||
#elif defined(STM32H7) || defined(STM32L4) || defined(STM32WB)
|
#elif defined(STM32H7) || defined(STM32L4) || defined(STM32WB)
|
||||||
features.clock_max_frequency = 33600;
|
features.clock_max_frequency = 33600;
|
||||||
#elif defined(STM32G0) || defined(STM32L5)
|
#elif defined(STM32G0) || defined(STM32L5) || defined(STM32G4)
|
||||||
features.clock_max_frequency = 34000;
|
features.clock_max_frequency = 34000;
|
||||||
#else
|
#else
|
||||||
#error "unsupported target"
|
#error "unsupported target"
|
||||||
|
|
|
||||||
|
|
@ -7576,7 +7576,6 @@
|
||||||
"SPI",
|
"SPI",
|
||||||
"SPISLAVE",
|
"SPISLAVE",
|
||||||
"SPI_ASYNCH",
|
"SPI_ASYNCH",
|
||||||
"WATCHDOG",
|
|
||||||
"RESET_REASON"
|
"RESET_REASON"
|
||||||
],
|
],
|
||||||
"detect_code": [
|
"detect_code": [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue