Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_IKS01A2 driver_mbed_TH02 mbed LoRaWAN-lib-v1_0_1 SX1272Lib
Fork of LoRaWAN-SX1272-Application-Demo by
Revision 7:b43f071aefb7, committed 2017-11-25
- Comitter:
- ubhat
- Date:
- Sat Nov 25 23:07:40 2017 +0000
- Parent:
- 6:dfba69760b76
- Child:
- 8:7ddaacb6dda6
- Commit message:
- Added Unique Device ID specific to the platform in use
Changed in this revision
| board/board.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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
