Page 1 of 1

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

Posted: Wed Feb 08, 2017 10:25 am
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

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

Posted: Thu Feb 09, 2017 10:36 am
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.

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

Posted: Wed Feb 15, 2017 8:29 am
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