Closed nyrahul closed 6 years ago
-Wl-wrap compiler option is used to override openthread radio layer from its libs. This provides zero-patch usage of openthread i.e. any version of openthread can be readily used without changing with whitefield (provided that few of the core apis have not changed).
Override posix-platform radio by linking libopenthread-posix.a and overriding radio APIs by using gnu compiler option such as -Wl,-wrap.