diff --git a/CMakeLists.txt b/CMakeLists.txt index b866d2e0..b0b34dbf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -164,14 +164,3 @@ elseif(OT_FTD OR OT_MTD) endif() message("-- OT_EXTERNAL_MBEDTLS = ${OT_EXTERNAL_MBEDTLS}") message("===================================================================") - - -# efr32mg12 Sub-GHz support -set(EFR32MG12_915MHZ_PHY_SOURCES - ${PROJECT_SOURCE_DIR}/src/efr32mg12/phy/PHY_IEEE802154_915MHZ_OQPSK_EFR32XG12.c - ${PROJECT_SOURCE_DIR}/src/efr32mg12/phy/PHY_IEEE802154_915MHZ_2GFSK_EFR32XG12.c -) -string(COMPARE EQUAL "${PLATFORM_LOWERCASE}" "efr32mg12" _cmp) -if (_cmp AND TARGET ${OT_PLATFORM_LIB}) - target_sources(${OT_PLATFORM_LIB} PUBLIC ${EFR32MG12_915MHZ_PHY_SOURCES}) -endif() diff --git a/examples/example_vendor_slc_extension/config.yml b/examples/example_vendor_slc_extension/config.yml index 1ece84fa..aca36e26 100644 --- a/examples/example_vendor_slc_extension/config.yml +++ b/examples/example_vendor_slc_extension/config.yml @@ -27,7 +27,7 @@ # # Target board -board: brd4161a +board: brd4186c # SLCP locations # NOTE: These paths are relative to the extension's root dir diff --git a/examples/sleepy-demo/README.md b/examples/sleepy-demo/README.md index 4baad9f0..f56e2650 100644 --- a/examples/sleepy-demo/README.md +++ b/examples/sleepy-demo/README.md @@ -10,11 +10,11 @@ For setting up the build environment refer to [OpenThread on EFR32](../../src/RE ## 1. Build -In this `README`, all example commands will be targeting the `brd4161a` board on the `efr32mg12` platform. The same commands should work for the other boards +In this `README`, all example commands will be targeting the `brd4186c` board on the `efr32mg24` platform. The same commands should work for the other boards ```bash $ cd -$ board="brd4161a" +$ board="brd4186c" $ ./script/build $board ``` @@ -22,7 +22,7 @@ The build script will convert the resulting executables into S-Record format and ```bash $ ls build/$board/bin/sleepy* -build/brd4161a/bin/sleepy-demo-ftd build/brd4161a/bin/sleepy-demo-ftd.s37 build/brd4161a/bin/sleepy-demo-mtd build/brd4161a/bin/sleepy-demo-mtd.s37 +build/brd4186c/bin/sleepy-demo-ftd build/brd4186c/bin/sleepy-demo-ftd.s37 build/brd4186c/bin/sleepy-demo-mtd build/brd4186c/bin/sleepy-demo-mtd.s37 ``` In Silicon Labs Simplicity Studio flash one device with the `sleepy-demo-mtd.s37` image and the other device with the `sleepy-demo-ftd.s37` image. diff --git a/src/README.md b/src/README.md index 3e44e72a..74675b35 100644 --- a/src/README.md +++ b/src/README.md @@ -79,12 +79,12 @@ Before building example apps, make sure to initialize all submodules. Afterward, **Example** -The example below demonstrates how to build for `efr32mg12` on `brd4161a`, but the same command maybe used for other platforms and boards. +The example below demonstrates how to build for `efr32mg24` on `brd4186c`, but the same command maybe used for other platforms and boards. ```bash $ cd $ git submodule update --init --recursive . -$ board="brd4161a" +$ board="brd4186c" $ ./script/build $board ... -- Configuring done @@ -175,12 +175,12 @@ Compiled binaries also may be flashed onto the specified EFR32 dev board using [ [j-link-commander]: https://www.segger.com/products/debug-probes/j-link/tools/j-link-commander/ -**Example:** Flashing `ot-cli-ftd` to a `brd4161a` device +**Example:** Flashing `ot-cli-ftd` to a `brd4186c` device ```bash $ cd $ source ./script/efr32-definitions -$ board="brd4161a" +$ board="brd4186c" $ cd /build/$board/bin $ arm-none-eabi-objcopy -O ihex ot-cli-ftd ot-cli-ftd.hex $ /JLinkExe -device $(efr32_get_jlink_device $board) -speed 4000 -if SWD -autoconnect 1 -SelectEmuBySN @@ -313,11 +313,11 @@ A debug session may be started with [J-LinkGDBServer][jlinkgdbserver]. [jlinkgdbserver]: https://www.segger.com/jlink-gdb-server.html -**Example:** Debugging `ot-cli-ftd` on a `brd4161a` device +**Example:** Debugging `ot-cli-ftd` on a `brd4186c` device ```bash $ source /script/efr32-definitions -$ board="brd4161a" +$ board="brd4186c" $ cd $ sudo ./JLinkGDBServer -if swd -singlerun -device $(efr32_get_jlink_device $board) $ cd /build/$board/bin @@ -334,11 +334,11 @@ $ (gdb) c The above example demonstrates basic OpenThread capabilities. Enable more features/roles (e.g. commissioner, joiner, DHCPv6 Server/Client, etc.) by assigning compile-options before compiling. -**Example** Building efr32mg12 for board `brd4161a` with some more features/roles enabled +**Example** Building efr32mg24 for board `brd4186c` with some more features/roles enabled ```bash $ cd -$ ./script/build brd4161a -DOT_COMMISSIONER=ON -DOT_JOINER=ON -DOT_DHCP6_CLIENT=ON -DOT_DHCP6_SERVER=ON +$ ./script/build brd4186c -DOT_COMMISSIONER=ON -DOT_JOINER=ON -DOT_DHCP6_CLIENT=ON -DOT_DHCP6_SERVER=ON ```