Add STM32 Nucleo-144 support
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user