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:
- Sudo apt-get update
- Sudo apt-get upgrade
- mkdir ot
- cd ot
- git clone https://github.com/openthread/openthread.git
- cd openthread
- git checkout 8a1992e2e42fb707babe9491a6a1456e553490e8
-
./bootstrap
- 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
- cd output/nrf52840/lib
- 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