From da1b0ddbe0342baea9c7d2939813ac20fecc4bbb Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Mon, 8 Mar 2021 21:58:32 -0800 Subject: [PATCH] [git] reflect branch rename from 'master' to 'main' (#6249) --- .github/workflows/build.yml | 2 +- .github/workflows/docker.yml | 2 +- .github/workflows/makefile-check.yml | 2 +- .github/workflows/otci.yml | 2 +- .github/workflows/posix.yml | 2 +- .github/workflows/simulation-1.2.yml | 2 +- .github/workflows/simulation.yml | 4 +-- .github/workflows/size.yml | 2 +- .github/workflows/toranj.yml | 2 +- .github/workflows/version.yml | 2 +- CONTRIBUTING.md | 14 +++++----- README.md | 20 ++++++------- .../porting/certification-and-readme.md | 2 +- .../porting/implement-advanced-features.md | 6 ++-- ...plement-platform-abstraction-layer-apis.md | 28 +++++++++---------- doc/site/en/guides/porting/index.md | 10 +++---- .../porting/set-up-the-build-environment.md | 14 +++++----- examples/platforms/efr32/efr32mg1/README.md | 2 +- examples/platforms/efr32/efr32mg12/README.md | 2 +- examples/platforms/efr32/efr32mg13/README.md | 2 +- examples/platforms/efr32/efr32mg21/README.md | 2 +- examples/platforms/kw41z/README.md | 2 +- examples/platforms/samr21/README.md | 2 +- 23 files changed, 64 insertions(+), 64 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2ee33880..507803708 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,7 +38,7 @@ jobs: - uses: rokroskar/workflow-run-cleanup-action@master env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - if: "github.ref != 'refs/heads/master'" + if: "github.ref != 'refs/heads/main'" pretty: runs-on: ubuntu-20.04 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d3f369f88..a8c9a1f6a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -38,7 +38,7 @@ jobs: - uses: rokroskar/workflow-run-cleanup-action@master env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - if: "github.ref != 'refs/heads/master'" + if: "github.ref != 'refs/heads/main'" buildx: name: buildx-${{ matrix.docker_name }} diff --git a/.github/workflows/makefile-check.yml b/.github/workflows/makefile-check.yml index 6fe3822a5..37e80243c 100644 --- a/.github/workflows/makefile-check.yml +++ b/.github/workflows/makefile-check.yml @@ -37,7 +37,7 @@ jobs: - uses: rokroskar/workflow-run-cleanup-action@master env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - if: "github.ref != 'refs/heads/master'" + if: "github.ref != 'refs/heads/main'" makefile-check: runs-on: ubuntu-20.04 diff --git a/.github/workflows/otci.yml b/.github/workflows/otci.yml index add77d6b9..97e78f759 100644 --- a/.github/workflows/otci.yml +++ b/.github/workflows/otci.yml @@ -38,7 +38,7 @@ jobs: - uses: rokroskar/workflow-run-cleanup-action@master env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - if: "github.ref != 'refs/heads/master'" + if: "github.ref != 'refs/heads/main'" cli-sim: runs-on: ubuntu-20.04 diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 0ca8e513f..d31264520 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -38,7 +38,7 @@ jobs: - uses: rokroskar/workflow-run-cleanup-action@master env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - if: "github.ref != 'refs/heads/master'" + if: "github.ref != 'refs/heads/main'" expects-macos: runs-on: macos-10.15 diff --git a/.github/workflows/simulation-1.2.yml b/.github/workflows/simulation-1.2.yml index 39f10b0e3..67af137f1 100644 --- a/.github/workflows/simulation-1.2.yml +++ b/.github/workflows/simulation-1.2.yml @@ -38,7 +38,7 @@ jobs: - uses: rokroskar/workflow-run-cleanup-action@master env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - if: "github.ref != 'refs/heads/master'" + if: "github.ref != 'refs/heads/main'" thread-1-2: name: thread-1-2-${{ matrix.compiler.c }}-${{ matrix.arch }} diff --git a/.github/workflows/simulation.yml b/.github/workflows/simulation.yml index bc7799ccd..1807198d4 100644 --- a/.github/workflows/simulation.yml +++ b/.github/workflows/simulation.yml @@ -38,7 +38,7 @@ jobs: - uses: rokroskar/workflow-run-cleanup-action@master env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - if: "github.ref != 'refs/heads/master'" + if: "github.ref != 'refs/heads/main'" distcheck: runs-on: ubuntu-20.04 @@ -326,7 +326,7 @@ jobs: run: | sudo rm /etc/apt/sources.list.d/* sudo apt-get install -y avahi-daemon avahi-utils lcov - script/git-tool clone https://github.com/openthread/ot-commissioner.git /tmp/ot-commissioner --depth 1 --branch master + script/git-tool clone https://github.com/openthread/ot-commissioner.git /tmp/ot-commissioner --depth 1 --branch main - name: Build run: | cd /tmp/ot-commissioner diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml index 596f2f26f..95c67cf6e 100644 --- a/.github/workflows/size.yml +++ b/.github/workflows/size.yml @@ -38,7 +38,7 @@ jobs: - uses: rokroskar/workflow-run-cleanup-action@master env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - if: "github.ref != 'refs/heads/master'" + if: "github.ref != 'refs/heads/main'" size-report: runs-on: ubuntu-20.04 diff --git a/.github/workflows/toranj.yml b/.github/workflows/toranj.yml index c11c3a1ba..4536cd0e8 100644 --- a/.github/workflows/toranj.yml +++ b/.github/workflows/toranj.yml @@ -38,7 +38,7 @@ jobs: - uses: rokroskar/workflow-run-cleanup-action@master env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - if: "github.ref != 'refs/heads/master'" + if: "github.ref != 'refs/heads/main'" toranj-ncp: runs-on: ubuntu-18.04 diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index a57c25711..37b110ca8 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -37,7 +37,7 @@ jobs: - uses: rokroskar/workflow-run-cleanup-action@master env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - if: "github.ref != 'refs/heads/master'" + if: "github.ref != 'refs/heads/main'" api-version: runs-on: ubuntu-20.04 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6ead4f6da..c33dbad96 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -63,7 +63,7 @@ For each new feature, create a working branch: ```bash # Create a working branch for your new feature -git branch --track origin/master +git branch --track origin/main # Checkout the branch git checkout @@ -85,16 +85,16 @@ This will open up a text editor where you can craft your commit message. Prior to submitting your pull request, you might want to do a few things to clean up your branch and make it as simple as possible for the original repo's maintainer to test, accept, and merge your work. -If any commits have been made to the upstream master branch, you should rebase your development branch so that merging it will be a simple fast-forward that won't require any conflict resolution work. +If any commits have been made to the upstream main branch, you should rebase your development branch so that merging it will be a simple fast-forward that won't require any conflict resolution work. ```bash -# Fetch upstream master and merge with your repo's master branch -git checkout master -git pull upstream master +# Fetch upstream main and merge with your repo's main branch +git checkout main +git pull upstream main # If there were any new commits, rebase your development branch git checkout -git rebase master +git rebase main ``` Now, it may be desirable to squash some of your smaller commits down into a small number of larger more cohesive commits. You can do this with an interactive rebase: @@ -102,7 +102,7 @@ Now, it may be desirable to squash some of your smaller commits down into a smal ```bash # Rebase all commits on your development branch git checkout -git rebase -i master +git rebase -i main ``` This will open up a text editor where you can specify which commits to squash. diff --git a/README.md b/README.md index 09f30661d..7b1f5423e 100644 --- a/README.md +++ b/README.md @@ -17,16 +17,16 @@ More information about Thread can be found at [threadgroup.org](http://threadgro [thread]: http://threadgroup.org/technology/ourtechnology [ot-repo]: https://github.com/openthread/openthread [ot-logo]: doc/images/openthread_logo.png -[ot-gh-action-build]: https://github.com/openthread/openthread/actions?query=workflow%3ABuild+branch%3Amaster+event%3Apush -[ot-gh-action-build-svg]: https://github.com/openthread/openthread/workflows/Build/badge.svg?branch=master&event=push -[ot-gh-action-simulation]: https://github.com/openthread/openthread/actions?query=workflow%3ASimulation+branch%3Amaster+event%3Apush -[ot-gh-action-simulation-svg]: https://github.com/openthread/openthread/workflows/Simulation/badge.svg?branch=master&event=push -[ot-gh-action-docker]: https://github.com/openthread/openthread/actions?query=workflow%3ADocker+branch%3Amaster+event%3Apush -[ot-gh-action-docker-svg]: https://github.com/openthread/openthread/workflows/Docker/badge.svg?branch=master&event=push +[ot-gh-action-build]: https://github.com/openthread/openthread/actions?query=workflow%3ABuild+branch%3Amain+event%3Apush +[ot-gh-action-build-svg]: https://github.com/openthread/openthread/workflows/Build/badge.svg?branch=main&event=push +[ot-gh-action-simulation]: https://github.com/openthread/openthread/actions?query=workflow%3ASimulation+branch%3Amain+event%3Apush +[ot-gh-action-simulation-svg]: https://github.com/openthread/openthread/workflows/Simulation/badge.svg?branch=main&event=push +[ot-gh-action-docker]: https://github.com/openthread/openthread/actions?query=workflow%3ADocker+branch%3Amain+event%3Apush +[ot-gh-action-docker-svg]: https://github.com/openthread/openthread/workflows/Docker/badge.svg?branch=main&event=push [ot-lgtm]: https://lgtm.com/projects/g/openthread/openthread/context:cpp [ot-lgtm-svg]: https://img.shields.io/lgtm/grade/cpp/g/openthread/openthread.svg?logo=lgtm&logoWidth=18 [ot-codecov]: https://codecov.io/gh/openthread/openthread -[ot-codecov-svg]: https://codecov.io/gh/openthread/openthread/branch/master/graph/badge.svg +[ot-codecov-svg]: https://codecov.io/gh/openthread/openthread/branch/main/graph/badge.svg # Who supports OpenThread? @@ -51,9 +51,9 @@ If you're interested in contributing to OpenThread, read on. # Contributing -We would love for you to contribute to OpenThread and help make it even better than it is today! See our [Contributing Guidelines](https://github.com/openthread/openthread/blob/master/CONTRIBUTING.md) for more information. +We would love for you to contribute to OpenThread and help make it even better than it is today! See our [Contributing Guidelines](https://github.com/openthread/openthread/blob/main/CONTRIBUTING.md) for more information. -Contributors are required to abide by our [Code of Conduct](https://github.com/openthread/openthread/blob/master/CODE_OF_CONDUCT.md) and [Coding Conventions and Style Guide](https://github.com/openthread/openthread/blob/master/STYLE_GUIDE.md). +Contributors are required to abide by our [Code of Conduct](https://github.com/openthread/openthread/blob/main/CODE_OF_CONDUCT.md) and [Coding Conventions and Style Guide](https://github.com/openthread/openthread/blob/main/STYLE_GUIDE.md). # Versioning @@ -61,7 +61,7 @@ OpenThread follows the [Semantic Versioning guidelines](http://semver.org/) for # License -OpenThread is released under the [BSD 3-Clause license](https://github.com/openthread/openthread/blob/master/LICENSE). See the [`LICENSE`](https://github.com/openthread/openthread/blob/master/LICENSE) file for more information. +OpenThread is released under the [BSD 3-Clause license](https://github.com/openthread/openthread/blob/main/LICENSE). See the [`LICENSE`](https://github.com/openthread/openthread/blob/main/LICENSE) file for more information. Please only use the OpenThread name and marks when accurately referencing this software distribution. Do not use the marks in a way that suggests you are endorsed by or otherwise affiliated with Nest, Google, or The Thread Group. diff --git a/doc/site/en/guides/porting/certification-and-readme.md b/doc/site/en/guides/porting/certification-and-readme.md index 7ecb8c5a7..217568f5a 100644 --- a/doc/site/en/guides/porting/certification-and-readme.md +++ b/doc/site/en/guides/porting/certification-and-readme.md @@ -23,5 +23,5 @@ At a minimum, the README should include: - Versions of libraries and toolchains used for validation of the port See the -[EFR32MG12 README](https://github.com/openthread/openthread/blob/master/examples/platforms/efr32/efr32mg12/README.md) +[EFR32MG12 README](https://github.com/openthread/openthread/blob/main/examples/platforms/efr32/efr32mg12/README.md) for an example. diff --git a/doc/site/en/guides/porting/implement-advanced-features.md b/doc/site/en/guides/porting/implement-advanced-features.md index 1880539b6..70c95c041 100644 --- a/doc/site/en/guides/porting/implement-advanced-features.md +++ b/doc/site/en/guides/porting/implement-advanced-features.md @@ -26,7 +26,7 @@ device, which acknowledges receipt of the data. If the radio supports dynamically setting the Frame Pending bit in outgoing acknowledgments to SEDs, the drivers must implement the -[source address match](https://github.com/openthread/openthread/blob/master/include/openthread/platform/radio.h#L288) +[source address match](https://github.com/openthread/openthread/blob/main/include/openthread/platform/radio.h#L288) API to enable this capability. OpenThread uses this API to tell the radio which SEDs to set the Frame Pending bit for. @@ -55,7 +55,7 @@ energy scanning logic by setting the macro > Note: This feature is optional. mbedTLS defines several macros in the main configuration header file, -[`mbedtls-config.h`](https://github.com/openthread/openthread/blob/master/third_party/mbedtls/mbedtls-config.h), +[`mbedtls-config.h`](https://github.com/openthread/openthread/blob/main/third_party/mbedtls/mbedtls-config.h), to allow users to enable alternative implementations of AES, SHA1, SHA2, and other modules, as well as individual functions for the Elliptic curve cryptography (ECC) over GF(p) module. See @@ -89,7 +89,7 @@ Commented macros in `mbedtls-config.h` are not mandatory, and can be enabled in the user-specific configuration header file for hardware acceleration. For a complete example user-specific configuration, see the -[`mbedtls_config_autogen.h`](https://github.com/openthread/openthread/blob/master/examples/platforms/efr32/efr32mg12/crypto/mbedtls_config_autogen.h) +[`mbedtls_config_autogen.h`](https://github.com/openthread/openthread/blob/main/examples/platforms/efr32/efr32mg12/crypto/mbedtls_config_autogen.h) file. ### AES module diff --git a/doc/site/en/guides/porting/implement-platform-abstraction-layer-apis.md b/doc/site/en/guides/porting/implement-platform-abstraction-layer-apis.md index a224bc7f3..140ae05d9 100644 --- a/doc/site/en/guides/porting/implement-platform-abstraction-layer-apis.md +++ b/doc/site/en/guides/porting/implement-platform-abstraction-layer-apis.md @@ -36,14 +36,14 @@ HAL BSP | `/openthread/third_party/{platform-name}` API declaration: -[`/openthread/include/openthread/platform/alarm-milli.h`](https://github.com/openthread/openthread/blob/master/include/openthread/platform/alarm-milli.h) +[`/openthread/include/openthread/platform/alarm-milli.h`](https://github.com/openthread/openthread/blob/main/include/openthread/platform/alarm-milli.h) The Alarm API provides fundamental timing and alarm services for the upper layer timer implementation. There are two alarm service types, -[millisecond](https://github.com/openthread/openthread/blob/master/include/openthread/platform/alarm-milli.h) -and [microsecond](https://github.com/openthread/openthread/blob/master/include/openthread/platform/alarm-micro.h). +[millisecond](https://github.com/openthread/openthread/blob/main/include/openthread/platform/alarm-milli.h) +and [microsecond](https://github.com/openthread/openthread/blob/main/include/openthread/platform/alarm-micro.h). Millisecond is required for a new hardware platform. Microsecond is optional. ## Step 2: UART @@ -52,14 +52,14 @@ Millisecond is required for a new hardware platform. Microsecond is optional. API declaration: -[`/openthread/include/openthread/platform/uart.h`](https://github.com/openthread/openthread/blob/master/include/openthread/platform/uart.h) +[`/openthread/include/openthread/platform/uart.h`](https://github.com/openthread/openthread/blob/main/include/openthread/platform/uart.h) The UART API implements fundamental serial port communication via the UART interface. While the OpenThread -[CLI](https://github.com/openthread/openthread/tree/master/examples/apps/cli) -and [NCP](https://github.com/openthread/openthread/tree/master/examples/apps/ncp) +[CLI](https://github.com/openthread/openthread/tree/main/examples/apps/cli) +and [NCP](https://github.com/openthread/openthread/tree/main/examples/apps/ncp) add-ons depend on the UART interface to interact with the host side, UART API support is optional. However, even if you do not plan to use these add-ons on your new hardware platform example, we highly recommend you add support for a @@ -79,7 +79,7 @@ sure to: API declaration: -[`/openthread/include/openthread/platform/radio.h`](https://github.com/openthread/openthread/blob/master/include/openthread/platform/radio.h) +[`/openthread/include/openthread/platform/radio.h`](https://github.com/openthread/openthread/blob/main/include/openthread/platform/radio.h) The Radio API defines all necessary functions called by the upper IEEE 802.15.4 MAC layer. The Radio chip must be fully compliant with the 2.4GHz IEEE @@ -101,7 +101,7 @@ The EUI-64 is used to match to steering data during the Joiner Discovery phase. API declaration: -[`/openthread/include/openthread/platform/misc.h`](https://github.com/openthread/openthread/blob/master/include/openthread/platform/misc.h) +[`/openthread/include/openthread/platform/misc.h`](https://github.com/openthread/openthread/blob/main/include/openthread/platform/misc.h) The Misc/Reset API provides a method to reset the software on the chip, and query the reason for last reset. @@ -112,7 +112,7 @@ query the reason for last reset. API declaration: -[`/openthread/include/openthread/platform/entropy.h`](https://github.com/openthread/openthread/blob/master/include/openthread/platform/entropy.h) +[`/openthread/include/openthread/platform/entropy.h`](https://github.com/openthread/openthread/blob/main/include/openthread/platform/entropy.h) The Entropy API provides a true random number generator (TRNG) for the upper layer, which is used to maintain security assets for the entire OpenThread @@ -142,11 +142,11 @@ of OpenThread.** API declarations: -[`/openthread/include/openthread/platform/flash.h`](https://github.com/openthread/openthread/blob/master/include/openthread/platform/flash.h) +[`/openthread/include/openthread/platform/flash.h`](https://github.com/openthread/openthread/blob/main/include/openthread/platform/flash.h) **or** -[`/openthread/include/openthread/platform/settings.h`](https://github.com/openthread/openthread/blob/master/include/openthread/platform/settings.h) +[`/openthread/include/openthread/platform/settings.h`](https://github.com/openthread/openthread/blob/main/include/openthread/platform/settings.h) The Non-volatile storage requirement can be satisfied by implementing one of the two APIs listed above. The Flash API implements a flash storage driver, while @@ -175,7 +175,7 @@ file. API declaration: -[`/openthread/include/openthread/platform/logging.h`](https://github.com/openthread/openthread/blob/master/include/openthread/platform/logging.h) +[`/openthread/include/openthread/platform/logging.h`](https://github.com/openthread/openthread/blob/main/include/openthread/platform/logging.h) The Logging API implements OpenThread's logging and debug functionality, with multiple levels of debug output available. This API is optional if you do not @@ -189,7 +189,7 @@ the terminal. Choose a debug level that best meets your needs. API declaration: -[`/openthread/examples/platforms/openthread-system.h`](https://github.com/openthread/openthread/blob/master/examples/platforms/openthread-system.h) +[`/openthread/examples/platforms/openthread-system.h`](https://github.com/openthread/openthread/blob/main/examples/platforms/openthread-system.h) The System-specific API primarily provides initialization and deinitialization operations for the selected hardware platform. This API is not called by the @@ -199,6 +199,6 @@ Misc/Reset) in this source file. Implementation of this API depends on your use case. If you wish to use the generated [CLI and NCP applications](https://openthread.io/guides/build#binaries) for an [example -platform](https://github.com/openthread/openthread/tree/master/examples/platforms), +platform](https://github.com/openthread/openthread/tree/main/examples/platforms), you must implement this API. Otherwise, any API can be implemented to integrate the example platform drivers into your system/RTOS. diff --git a/doc/site/en/guides/porting/index.md b/doc/site/en/guides/porting/index.md index d721d757c..ef97988d4 100644 --- a/doc/site/en/guides/porting/index.md +++ b/doc/site/en/guides/porting/index.md @@ -2,11 +2,11 @@ Porting the OpenThread stack to a new hardware platform consists of five steps: -1. [Set up the build environment](https://github.com/openthread/openthread/blob/master/doc/site/en/guides/porting/set-up-the-build-environment.md) -1. [Implement Platform Abstraction Layer APIs](https://github.com/openthread/openthread/blob/master/doc/site/en/guides/porting/implement-platform-abstraction-layer-apis.md) -1. [Implement advanced features (Hardware Abstraction Layer)](https://github.com/openthread/openthread/blob/master/doc/site/en/guides/porting/implement-advanced-features.md) -1. [Validate the port](https://github.com/openthread/openthread/blob/master/doc/site/en/guides/porting/validate-the-port.md) -1. [Certification and README](https://github.com/openthread/openthread/blob/master/doc/site/en/guides/porting/certification-and-readme.md) +1. [Set up the build environment](https://github.com/openthread/openthread/blob/main/doc/site/en/guides/porting/set-up-the-build-environment.md) +1. [Implement Platform Abstraction Layer APIs](https://github.com/openthread/openthread/blob/main/doc/site/en/guides/porting/implement-platform-abstraction-layer-apis.md) +1. [Implement advanced features (Hardware Abstraction Layer)](https://github.com/openthread/openthread/blob/main/doc/site/en/guides/porting/implement-advanced-features.md) +1. [Validate the port](https://github.com/openthread/openthread/blob/main/doc/site/en/guides/porting/validate-the-port.md) +1. [Certification and README](https://github.com/openthread/openthread/blob/main/doc/site/en/guides/porting/certification-and-readme.md) ## Hardware platform requirements diff --git a/doc/site/en/guides/porting/set-up-the-build-environment.md b/doc/site/en/guides/porting/set-up-the-build-environment.md index 73cc4939c..f7a318ba3 100644 --- a/doc/site/en/guides/porting/set-up-the-build-environment.md +++ b/doc/site/en/guides/porting/set-up-the-build-environment.md @@ -20,7 +20,7 @@ platform-relative macro definitions. These macros can be exposed for conditional compilation in other Makefiles during the pre-compiling phase. The OpenThread Autoconf script is located at: -[`/openthread/configure.ac`](https://github.com/openthread/openthread/blob/master/configure.ac) +[`/openthread/configure.ac`](https://github.com/openthread/openthread/blob/main/configure.ac) ### Platform example name @@ -106,14 +106,14 @@ The following platform-specific Automake files need to be created: - `/openthread/examples/platforms/{platform-name}/Makefile.am` - `/openthread/examples/platforms/{platform-name}/Makefile.platform.am` -See [`/examples`](https://github.com/openthread/openthread/tree/master/examples/) for sample implementations of +See [`/examples`](https://github.com/openthread/openthread/tree/main/examples/) for sample implementations of these files. The following Automake files also need to be updated with your platform information: -- [`/openthread/examples/platforms/Makefile.am`](https://github.com/openthread/openthread/blob/master/examples/platforms/Makefile.am) -- [`/openthread/examples/platforms/Makefile.platform.am`](https://github.com/openthread/openthread/blob/master/examples/platforms/Makefile.platform.am) +- [`/openthread/examples/platforms/Makefile.am`](https://github.com/openthread/openthread/blob/main/examples/platforms/Makefile.am) +- [`/openthread/examples/platforms/Makefile.platform.am`](https://github.com/openthread/openthread/blob/main/examples/platforms/Makefile.platform.am) ### Linker script configuration @@ -145,7 +145,7 @@ endif # OPENTHREAD_EXAMPLES_EFR32 ``` Add the platform's linker script configuration to the -[`/openthread/examples/platforms/Makefile.platform.am`](https://github.com/openthread/openthread/blob/master/examples/platforms/Makefile.platform.am) +[`/openthread/examples/platforms/Makefile.platform.am`](https://github.com/openthread/openthread/blob/main/examples/platforms/Makefile.platform.am) utility Makefile: ``` @@ -156,7 +156,7 @@ endif ### Subdirectory configuration -Modify [`/openthread/examples/platforms/Makefile.am`](https://github.com/openthread/openthread/blob/master/examples/platforms/Makefile.platform.am) +Modify [`/openthread/examples/platforms/Makefile.am`](https://github.com/openthread/openthread/blob/main/examples/platforms/Makefile.platform.am) to configure the package subdirectories for the new platform example. Add the platform subdirectory name in the list for `make dist`, in alphabetical @@ -214,4 +214,4 @@ libopenthread_efr32_a_SOURCES = \ > Note: Any non-original derivative code (for example, linker script or toolchain startup code) must be contained in -[`/openthread/third_party`](https://github.com/openthread/openthread/tree/master/third_party). +[`/openthread/third_party`](https://github.com/openthread/openthread/tree/main/third_party). diff --git a/examples/platforms/efr32/efr32mg1/README.md b/examples/platforms/efr32/efr32mg1/README.md index e4af6401a..153ed0f5d 100644 --- a/examples/platforms/efr32/efr32mg1/README.md +++ b/examples/platforms/efr32/efr32mg1/README.md @@ -234,7 +234,7 @@ $ make -f examples/Makefile-efr32mg1 COMMISSIONER=1 JOINER=1 DHCP6_CLIENT=1 DHCP For a list of all available commands, visit [OpenThread CLI Reference README.md][cli]. -[cli]: https://github.com/openthread/openthread/blob/master/src/cli/README.md +[cli]: https://github.com/openthread/openthread/blob/main/src/cli/README.md ## Verification diff --git a/examples/platforms/efr32/efr32mg12/README.md b/examples/platforms/efr32/efr32mg12/README.md index 25bd53ed0..7ee0592f1 100644 --- a/examples/platforms/efr32/efr32mg12/README.md +++ b/examples/platforms/efr32/efr32mg12/README.md @@ -247,7 +247,7 @@ $ make -f examples/Makefile-efr32mg12 COMMISSIONER=1 JOINER=1 DHCP6_CLIENT=1 DHC For a list of all available commands, visit [OpenThread CLI Reference README.md][cli]. -[cli]: https://github.com/openthread/openthread/blob/master/src/cli/README.md +[cli]: https://github.com/openthread/openthread/blob/main/src/cli/README.md ## Verification diff --git a/examples/platforms/efr32/efr32mg13/README.md b/examples/platforms/efr32/efr32mg13/README.md index eace8e906..7a6cd080d 100644 --- a/examples/platforms/efr32/efr32mg13/README.md +++ b/examples/platforms/efr32/efr32mg13/README.md @@ -240,7 +240,7 @@ $ make -f examples/Makefile-efr32mg13 COMMISSIONER=1 JOINER=1 DHCP6_CLIENT=1 DHC For a list of all available commands, visit [OpenThread CLI Reference README.md][cli]. -[cli]: https://github.com/openthread/openthread/blob/master/src/cli/README.md +[cli]: https://github.com/openthread/openthread/blob/main/src/cli/README.md ## Verification diff --git a/examples/platforms/efr32/efr32mg21/README.md b/examples/platforms/efr32/efr32mg21/README.md index 9075d932c..c2c64dcf8 100644 --- a/examples/platforms/efr32/efr32mg21/README.md +++ b/examples/platforms/efr32/efr32mg21/README.md @@ -183,7 +183,7 @@ $ make -f examples/Makefile-efr32mg21 COMMISSIONER=1 JOINER=1 DHCP6_CLIENT=1 DHC For a list of all available commands, visit [OpenThread CLI Reference README.md][cli]. -[cli]: https://github.com/openthread/openthread/blob/master/src/cli/README.md +[cli]: https://github.com/openthread/openthread/blob/main/src/cli/README.md ## Verification diff --git a/examples/platforms/kw41z/README.md b/examples/platforms/kw41z/README.md index 310e84d74..75976994f 100644 --- a/examples/platforms/kw41z/README.md +++ b/examples/platforms/kw41z/README.md @@ -125,4 +125,4 @@ Compiled binaries may be flashed onto the MKW41Z512 using drag-and-drop into the For a list of all available commands, visit [OpenThread CLI Reference README.md][cli]. -[cli]: https://github.com/openthread/openthread/blob/master/src/cli/README.md +[cli]: https://github.com/openthread/openthread/blob/main/src/cli/README.md diff --git a/examples/platforms/samr21/README.md b/examples/platforms/samr21/README.md index e5b9dfe60..5e5a35af3 100644 --- a/examples/platforms/samr21/README.md +++ b/examples/platforms/samr21/README.md @@ -195,7 +195,7 @@ $ make -f examples/Makefile-samr21 COMMISSIONER=1 JOINER=1 DHCP6_CLIENT=1 DHCP6_ For a list of all available commands, visit [OpenThread CLI Reference README.md][cli]. -[cli]: https://github.com/openthread/openthread/blob/master/src/cli/README.md +[cli]: https://github.com/openthread/openthread/blob/main/src/cli/README.md ## Other boards