简体   繁体   中英

OpenThread Compiling Errors relating to 'PrefixTlv'

I have been asked to take the OpenThread code, compile it, and download it to an SoC (SiLabs - Mighty Gecko). I have added all the files from the src folder and tried to run it through the IAR Embedded Workbench IDE, but receive numerous errors around 'PrefixTlv'. It seems that I am missing a file where this is defined because the most common error reads: Error[Pe020]: identifier "PrefixTlv" is undefined.

There was a merge yesterday that should help with your issue:

https://github.com/openthread/openthread/pull/107

Please try it again with the latest master, and let us know if these new toolchain.h abstractions solve your problems with compiling under IAR.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM