RNO-G / radiantBoardManager

RADIANT board manager Arduino sketch (in development)
0 stars 1 forks source link

Implement UUID for board manager #4

Closed barawn closed 1 year ago

barawn commented 1 year ago

Example UUID access at registers 0x30-0x3C. This hasn't been tested yet, but should work. Based on

https://microchip.my.site.com/s/article/Reading-unique-serial-number-on-SAM-D20-SAM-D21-SAM-R21-devices

Work to implement issue #3.

cozzyd commented 1 year ago

Well, I sort of simultaneously implemented it (I also think your version may not compile without -fpermissive because you don't explicitly cast integers to pointers in your array)

barawn commented 1 year ago

Yeah, I had this edit sitting in a webpage and took a while to submit it, so I'll just close this one. Easy enough!

cozzyd commented 1 year ago

oops, our versions differ in endianness don't they?

barawn commented 1 year ago

Yeah, but if yours works we should just go with that. It requires 4 separate reads anyway so if it looks more "logical" the other way you can just flop it in the function doing the readout.