Commit Graph

5 Commits (f7ed4b9f90357e63ca7d34f6fe9e676f4c598a5b)

Author SHA1 Message Date
Michael Kaplan f7ed4b9f90 CpuUid: complete refactoring to meet review requirements
Hopefully all review items were addressed.
2018-01-16 15:06:07 +01:00
Michael Kaplan 649ce41436 CpuUid: moved includes of string and vector
The problem appeared in the travis-ci build when building the SAMR21G18A target. It seems this target lacks support of STL somehow.
If DEVICE_CPUUID is not defined, the string and vector headers would still be included - so on "buggy stl" targets, this would lead to build error
2018-01-16 15:05:12 +01:00
Michael Kaplan 229601571d CpuUid: fixed coding style 2018-01-16 15:05:12 +01:00
Michael Kaplan 3406ff262f CpuUid: to save memory, overloaded type cast std::string operator uses minimal implementation instead of snprintf 2018-01-16 15:05:12 +01:00
Michael Kaplan 31d6a28a73 Added driver class using the CPU UID HAL API 2018-01-16 15:01:17 +01:00