Added Restart(by RESET) function from Standby mode only for some Nucleo boards (STM32 series)

Dependencies:   LPC1114_WakeInterruptIn

Dependents:   Check_StandBy

Fork of WakeUp by Erik -

Example program using "Standby function" for Nucleo series is here.
/users/kenjiArai/code/Check_StandBy/

Files at this revision

API Documentation at this revision

Comitter:
kenjiArai
Date:
Tue Oct 03 00:30:47 2017 +0000
Parent:
25:2bd9df8c3ac8
Commit message:
disable DEBUG mode

Changed in this revision

Device/WakeUp_STM32_others.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Device/WakeUp_STM32_others.cpp	Thu Sep 21 21:53:16 2017 +0000
+++ b/Device/WakeUp_STM32_others.cpp	Tue Oct 03 00:30:47 2017 +0000
@@ -9,17 +9,17 @@
 #include "WakeUp.h"
 #include "rtc_api.h"
 
-#define DEBUG
+//#define DEBUG
 
 extern Serial pc;
 
-#if 1
+#if 0
 #define DBG(...)   pc.printf(__VA_ARGS__)
 #else
 #define DBG(...)   {;}
 #endif
 
-#if 1
+#if 0
 #define DBGP(...)   pc.printf(__VA_ARGS__)
 #else
 #define DBGP(...)   {;}