Add STM32 Nucleo-144 support

This commit is contained in:
fauresystems
2020-06-26 09:35:39 +02:00
parent ca26b3253c
commit 4f057a4476
21 changed files with 349 additions and 20 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
*/
#include "Prop.h"
#include <Process.h>
//#include <Process.h>
#if defined(__AVR__)
#include <avr/wdt.h>
#endif
@@ -99,7 +99,7 @@ void Prop::checkDataChanges()
void Prop::resetMcu()
{
#if defined(ARDUINO_ARCH_SAMD)
#if defined(ARDUINO_ARCH_SAMD) || defined(STM32F4xx) || defined(STM32F7xx)
NVIC_SystemReset();
#elif defined(ARDUINO_ARCH_AVR) || defined(__AVR__)
wdt_enable(WDTO_15MS);