LR Initial Publish

Dependencies:   X_NUCLEO_IKS01A2 driver_mbed_TH02 mbed LoRaWAN-lib-v1_0_1 SX1272Lib

Fork of Training-Aug2018-SX1272-X-NUCLEO-IKS01A2 by Uttam Bhat

Revision:
7:b43f071aefb7
Parent:
2:19dd7bfcacf7
Child:
10:bba416e2c3e1
--- a/board/board.h	Fri Nov 10 09:42:56 2017 +0000
+++ b/board/board.h	Sat Nov 25 23:07:40 2017 +0000
@@ -31,6 +31,7 @@
 #include "x_nucleo_iks01a1.h"
 #endif
 
+#if defined ( TARGET_NUCLEO_L152RE )
 /*!
  * Unique Devices IDs register set ( STM32L1xxx )
  */
@@ -38,6 +39,24 @@
 #define         ID2                                 ( 0x1FF800D4 )
 #define         ID3                                 ( 0x1FF800E4 )
 
+#elif defined ( TARGET_NUCLEO_F401RE )
+/*!
+ * Unique Devices IDs register set ( STM32F4xxx )
+ */
+#define         ID1                                 ( 0x1FFF7A10 )
+#define         ID2                                 ( 0x1FFF7A14 )
+#define         ID3                                 ( 0x1FFF7A18 )
+
+#elif defined ( TARGET_NUCLEO_L073RZ )
+/*!
+ * Unique Devices IDs register set ( STM32L0xxx )
+ */
+#define         ID1                                 ( 0x1FF80050 )
+#define         ID2                                 ( 0x1FF80054 )
+#define         ID3                                 ( 0x1FF80064 )
+
+#endif
+
 #define LOW_BAT_THRESHOLD   3.45
 #define AIN_VREF            3.3     // STM32 internal refernce
 #define AIN_VBAT_DIV        2       // Resistor divider