Library to pull unique device ID from CPU chip. functions to load into a string that can be used in IoT access point ID and another to send the ID back on serial port. Tested on KL46Z but should work on STM and others by changing address where ID is located.

Dependents:   stm32_print_unique_serial_number_copy bcsdk bcsdk bcsdk-sdchain

Revision:
1:c7453c2b8a2f
Parent:
0:b9461291f915
Child:
2:08766dc8051a
--- a/uniqueCPUID.h	Wed Mar 09 18:04:45 2016 +0000
+++ b/uniqueCPUID.h	Fri Mar 11 03:24:53 2016 +0000
@@ -20,7 +20,8 @@
 
 //TODO: Add logic to detect the different boards and select the correct
 //  CPU ID based on the active board.
-#define uniqueSerialAddr uniqueSerialAdd_kl_freescale
+//#define uniqueSerialAddr uniqueSerialAdd_kl_freescale
+#define uniqueSerialAddr uniqueSerialAddr_stm32
 
 // Change to enable for address for your chip family
 // Note some ealry stm L3 chips were produced with all