This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Re-building OpenThread Libraries - Thread SDK4.0.0 - missing libopenthread-cli-ftd.a and libopenthread-cli-mtd.a

When I carefully follow the instructions at https://infocenter.nordicsemi.com/topic/sdk_tz_v4.0.0/thread_ot_libraries_building.html , I am missing some of the openthread libraries that originally shipped with Thread SDK 4.0.0.  Specifically, the files libopenthread-cli-ftd.a and libopenthread-cli-mtd.a are not generated.

Environment: Ubuntu 16.04 LTS version on Windows10

Steps to reproduce:

  1. Sudo apt-get update
  2. Sudo apt-get upgrade
  3. mkdir ot
  4. cd ot
  5. git clone https://github.com/openthread/openthread.git
  6. cd openthread
  7. git checkout 8a1992e2e42fb707babe9491a6a1456e553490e8
  8. ./bootstrap

  9. make -f examples/Makefile-nrf52840 BORDER_AGENT=1 BORDER_ROUTER=1 COAP=1 COMMISSIONER=1 DISABLE_BUILTIN_MBEDTLS=1 DNS_CLIENT=1 DIAGNOSTIC=1 EXTERNAL_HEAP=1 JOINER=1 LINK_RAW=1 MAC_FILTER=1 MTD_NETDIAG=1 SERVICE=1 UDP_FORWARD=1 ECDSA=1 SNTP_CLIENT=1 COAPS=1 DHCP6_SERVER=1 DHCP6_CLIENT=1
  10. cd output/nrf52840/lib
  11. notice that files libopenthread-cli-ftd.a and libopenthread-cli-mtd.a are not present

Please clarify the exact steps Nordic uses in building and copying the compiled OpenThread libraries and other files to the SDK folders.

Also, as previously reported, Step 5 of the instructions (link above) "Because the SDK provides libraries with USB CDC, UART, and SPI support, rename the following USB and SPI libraries:" remains very confusing.  I need a reliable process to build all of the OpenThread files that may be required by any of the Nordic Thread/Multiprotocol examples.

Thanks,

Rob

Parents Reply Children
No Data
Related