Enter Standby mode then wake up(only restart) by RTC timer

Dependencies:   WakeUp_STM32

/users/kenjiArai/notebook/standby-mode-current-consumption-on-nucleo-f446re/

IDD Jumper(JP6)
ModeMbed-OSBoardIDD Current(sleep)IDD Current(Normal(*1))
DeepSleep0s5.15.1Nucleo-L152RE4.23uA5mA to 8mA
^0s6.6.0^4.22uA4mA to 7mA
StandBy0s5.15.1^3.90uA4mA to 7mA
^0s6.6.0^3.90uA4mA to 7mA
DeepSleep0s5.15.1Nucleo-L476RG2.13uA7mA to 10mA
^0s6.6.0^2.23uA7mA to 10mA
StandBy0s5.15.1^-uA(*2)-mA(*2)
^0s6.6.0^-uA(*2)-mA(*2)
DeepSleep0s5.15.1Nucleo-F411RE1.91mA(*3)7mA to 10mA
^0s6.6.0^1.65mA(*3)7mA to 10mA
StandBy0s5.15.1^3.35uA7mA to 10mA
^0s6.6.0^3.40uA7mA to 9mA
DeepSleep0s5.15.1Nucleo-F446RE1.67mA(*3)14mA to 17mA
^0s6.6.0^1.76mA(*3)14mA to 16mA
StandBy0s5.15.1^3.42uA14mA to 17mA
^0s6.6.0^3.42uA14mA to 16mA

(*1)-> LED1 Blinky every 1sec and change LED1 current
(*2)-> Could NOT make proper program and could NOT measure
(*3)-> NOT uA but mA
All Nucleo boards are stand alone condition(not additional circuit).
Equipment: DMM6500

/users/kenjiArai/code/Check_DeepSleep_os5/
/users/kenjiArai/code/Check_DeepSleep_os6/
/users/kenjiArai/code/Check_StandBy_os5/
/users/kenjiArai/code/Check_StandBy_os6/

Revision:
3:4cdb02c5bd94
Parent:
2:281dbfae5cd0
Child:
4:ce30d249515e
--- a/main.cpp	Thu Mar 12 09:30:00 2020 +0000
+++ b/main.cpp	Fri Mar 13 03:33:37 2020 +0000
@@ -6,7 +6,7 @@
  *  http://www7b.biglobe.ne.jp/~kenjia/
  *  https://os.mbed.com/users/kenjiArai/
  *      Revised:    March     12th, 2020
- *      Revised:    March     12th, 2020
+ *      Revised:    March     13th, 2020
  */
 
 /*
@@ -14,7 +14,11 @@
         https://forums.mbed.com/t/how-to-deep-sleep/7551
 
     Tested on
-
+        Nucleo-F401RE
+        Nucleo-F411RE
+        Nucleo-F446RE
+        Nucleo-L053R8   only os2
+        Nucleo-L073RZ   only os2
         Nucleo-L152RE
  */
 
@@ -65,7 +69,7 @@
     printf("\r\nCheck current consumption at Deep-sleep mode.\r\n");
     print_revision();
     seconds = time(NULL);
-    if (seconds < DATE_20200220_222222) {
+    if (seconds < DATE_20200222_222222) {
         strftime(buf, 50, " %B %d,'%y, %H:%M:%S\r\n", localtime(&seconds));
         pc.printf("[Time] %s\r\n", buf);
         time_enter_mode();