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.
Dependents: LoRaWAN-SanJose_Bootcamp LoRaWAN-grove-cayenne LoRaWAN-classC-demo LoRaWAN-grove-cayenne ... more
Diff: TARGET_NRF5x/target_nrf52.c
- Revision:
- 11:ce1317758488
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TARGET_NRF5x/target_nrf52.c	Mon Jul 23 17:40:44 2018 -0700
@@ -0,0 +1,15 @@
+#include "target.h"
+#include <string.h>
+#include "nrf52.h"
+
+int targetCheckLSE()
+{
+    /* does NRF52 have low-speed RC clock? */
+    return 0;
+}
+
+void HardwareIDtoDevEUI(uint8_t* DevEui)
+{
+    //uint64_t result = *((uint64_t*) NRF_FICR->DEVICEADDR);
+    memcpy(DevEui, NRF_FICR->DEVICEADDR, 8);
+}