personal copy to test forking on mbed.org
Fork of k64f_uuid by
Diff: main.cpp
- Revision:
- 0:496297783a79
- Child:
- 1:3166c3c53a37
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Jul 08 00:03:10 2014 +0000 @@ -0,0 +1,18 @@ +#include "mbed.h" + +uint32_t result[4]; + +int main() { + unsigned int UUID_LOC = 0x40048054; + int i = 3; + + for (; i>=0; --i) { + result[i] = *(uint32_t *)UUID_LOC; + printf("REG:%08x\tVAL:%08x\r\n", UUID_LOC, result[i]); + UUID_LOC += 4; + } + + error("exit\r\n"); + return *result; +} +