This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Description
|
function install_openthread() { |
|
if [ ! -d "${OPEN_THREAD_DIR}" ]; then |
|
wget https://github.com/openthread/openthread/archive/master.zip |
|
unzip master.zip |
|
rm master.zip |
|
mv openthread-master openthread |
|
fi |
|
pushd . |
|
cd openthread |
|
./bootstrap |
|
make -f examples/Makefile-simulation |
|
popd |
|
} |
Currently, cirque always download openthread's master code, which is not stable since change in openthread will break cirque.
There are two ways that can make this better,
- Use a fixed openthread commit id and update it regularly,
- Allow user specify the path of openthread and use it here