personal copy to test forking on mbed.org
Fork of k64f_uuid by
Embed:
(wiki syntax)
Show/hide line numbers
main.cpp
00001 #include "mbed.h" 00002 00003 //#if defined(TARGET_K64F) 00004 //#if defined(TARGET_LPC1768) 00005 #if defined(TARGET_C027) 00006 #error haha 00007 #endif 00008 00009 int main() { 00010 uint32_t UUID_LOC = 0x40048054; // K64F address of UUID data 00011 uint32_t result[4] = {0}; 00012 uint32_t i = 3; //comment here 00013 00014 for (; i>=0; --i) { 00015 result[i] = *(uint32_t *)UUID_LOC; 00016 printf("REG:%08x\tVAL:%08x\n\r", UUID_LOC, result[i]); 00017 UUID_LOC += 4; 00018 } 00019 00020 error("exit\r\n"); 00021 return *result; 00022 } 00023 00024 00025 //hadeerp derp derp thingy
Generated on Mon Jul 25 2022 13:20:09 by
1.7.2
Austin Blackstone
