which library or module should be included for read mac or serial number from OTP

If you have a simple question and just want an answer.
Post Reply
johnsonyin
Member++
Posts: 16
Joined: Thu Nov 10, 2016 2:33 am

which library or module should be included for read mac or serial number from OTP

Post by johnsonyin »

i'm trying to read out serial number from OTP with otp_board_info_get_serial( ), but compile error!
which library or module should be included? thanks


User avatar
infiniteimprobability
XCore Legend
Posts: 1126
Joined: Thu May 27, 2010 10:08 am
Contact:

Post by infiniteimprobability »

hi, lib_otpinfo is the current library to use (eg. for storing ethernet MAC addresses). What compiler error do you get? It may or may not be related to this but we would need to see the details to help further.
johnsonyin
Member++
Posts: 16
Joined: Thu Nov 10, 2016 2:33 am

Post by johnsonyin »

infiniteimprobability wrote:hi, lib_otpinfo is the current library to use (eg. for storing ethernet MAC addresses). What compiler error do you get? It may or may not be related to this but we would need to see the details to help further.
Thanks, infiniteimprobability, I'd downloaded lib_otpinfo library, I can compile successfully
Post Reply