Coder Social home page Coder Social logo

dresden-elektronik / openthread-r21 Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 0.0 865 KB

OpenThread Border Router for R21 based ConBee II and RaspBee II

License: BSD 3-Clause "New" or "Revised" License

C 87.93% Makefile 2.92% C++ 6.26% CMake 1.04% Shell 1.84%

openthread-r21's People

Contributors

haerteleric avatar manup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openthread-r21's Issues

[REQUEST] Out-of-the-box support for Home Assistant Add-on: OpenThread Border Router Add-on

Suggest that you look into adding out-of-the-box support Home Assistant Add-on: OpenThread Border Router Add-on:

https://github.com/home-assistant/addons-development/tree/master/openthread_border_router

Home Assistant depends on that addon for its Matter (formerly "Project CHIP") integration when devices use Thread, and the idea is that users should be able to use other OTBR adapters than the official Home Assistant SkyConnect USB adapter than was recently made available:

https://www.home-assistant.io/integrations/matter/

https://community.home-assistant.io/t/chip-matter-support-including-thread/305633

As well see the related discussion here about support for other OTBR adapters than their official Home Assistant SkyConnect adapter:

home-assistant/addons-development#38

There are also some indirect discussions about Thread radio hardware adapter compatibility here:

zigpy/zigpy#894

PPS: Also recommend follow its developer (@agners) development on GitHub + his posts on Twitter + activity on HA community forums:

https://community.home-assistant.io/u/agners/activity

https://github.com/agners

https://twitter.com/falstaff_ch

Compile on raspberry pi

Hello,

Just tried to do a compile of this on a raspberry pi.
System Information is:
pi@rasptv:~/openthread-r21 $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Followed the instructions and all seemed to be in good working order until running the build. There I got the following message:

`pi@rasptv:~/openthread-r21 $ sudo bash script/build.sh

  • OT_CMAKE_NINJA_TARGET=

  • OT_SRCDIR=/home/pi/openthread-r21/script/..

  • readonly OT_SRCDIR

  • OT_OPTIONS=("-DCMAKE_TOOLCHAIN_FILE=${OT_SRCDIR}/src/arm-none-eabi-gcc.cmake" "-DCMAKE_BUILD_TYPE=Debug" "-DOT_PLATFORM=external" "-DOT_SLAAC=ON" "-DOT_APP_RCP=ON" "-DOT_RCP=ON" "-DOT_FTD=OFF" "-DOT_MTD=OFF" "-DOT_APP_CLI=OFF" "-DOT_APP_NCP=OFF")

  • readonly OT_OPTIONS

  • main

  • options=('-DCMAKE_TOOLCHAIN_FILE=/home/pi/openthread-r21/script/../src/arm-none-eabi-gcc.cmake' '-DCMAKE_BUILD_TYPE=Debug' '-DOT_PLATFORM=external' '-DOT_SLAAC=ON' '-DOT_APP_RCP=ON' '-DOT_RCP=ON' '-DOT_FTD=OFF' '-DOT_MTD=OFF' '-DOT_APP_CLI=OFF' '-DOT_APP_NCP=OFF')

  • local options

  • options+=("$@")

  • build -DCMAKE_TOOLCHAIN_FILE=/home/pi/openthread-r21/script/../src/arm-none-eabi-gcc.cmake -DCMAKE_BUILD_TYPE=Debug -DOT_PLATFORM=external -DOT_SLAAC=ON -DOT_APP_RCP=ON -DOT_RCP=ON -DOT_FTD=OFF -DOT_MTD=OFF -DOT_APP_CLI=OFF -DOT_APP_NCP=OFF

  • local builddir=/home/pi/openthread-r21/script/../out/build

  • mkdir -p /home/pi/openthread-r21/script/../out/build

  • cd /home/pi/openthread-r21/script/../out/build

  • cmake -GNinja -DOT_COMPILE_WARNING_AS_ERROR=ON -DCMAKE_TOOLCHAIN_FILE=/home/pi/openthread-r21/script/../src/arm-none-eabi-gcc.cmake -DCMAKE_BUILD_TYPE=Debug -DOT_PLATFORM=external -DOT_SLAAC=ON -DOT_APP_RCP=ON -DOT_RCP=ON -DOT_FTD=OFF -DOT_MTD=OFF -DOT_APP_CLI=OFF -DOT_APP_NCP=OFF /home/pi/openthread-r21/script/..
    -- The C compiler identification is unknown
    -- The CXX compiler identification is unknown
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - failed
    -- Check for working C compiler: /home/pi/openthread-r21/gcc-arm-none-eabi/bin/arm-none-eabi-gcc
    -- Check for working C compiler: /home/pi/openthread-r21/gcc-arm-none-eabi/bin/arm-none-eabi-gcc - broken
    CMake Error at /usr/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
    The C compiler

    "/home/pi/openthread-r21/gcc-arm-none-eabi/bin/arm-none-eabi-gcc"

    is not able to compile a simple test program.

    It fails with the following output:

    Change Dir: /home/pi/openthread-r21/out/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/ninja cmTC_ed2ff && [1/2] Building C object CMakeFiles/cmTC_ed2ff.dir/testCCompiler.c.obj
    FAILED: CMakeFiles/cmTC_ed2ff.dir/testCCompiler.c.obj
    /home/pi/openthread-r21/gcc-arm-none-eabi/bin/arm-none-eabi-gcc -mcpu=cortex-m0plus -mfloat-abi=soft -mthumb -std=gnu99 -o CMakeFiles/cmTC_ed2ff.dir/testCCompiler.c.obj -c testCCompiler.c
    /bin/sh: 1: /home/pi/openthread-r21/gcc-arm-none-eabi/bin/arm-none-eabi-gcc: Exec format error
    ninja: build stopped: subcommand failed.

    CMake will not be able to correctly generate this project.
    Call Stack (most recent call first):
    CMakeLists.txt:3 (project)

-- Configuring incomplete, errors occurred!
See also "/home/pi/openthread-r21/out/build/CMakeFiles/CMakeOutput.log".
See also "/home/pi/openthread-r21/out/build/CMakeFiles/CMakeError.log".
`

Am I missing something?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.