openthread / ot-rtos Goto Github PK
View Code? Open in Web Editor NEWOpenThread RTOS, an integration of OpenThread, LwIP, and FreeRTOS.
Home Page: https://openthread.io/
License: BSD 3-Clause "New" or "Revised" License
OpenThread RTOS, an integration of OpenThread, LwIP, and FreeRTOS.
Home Page: https://openthread.io/
License: BSD 3-Clause "New" or "Revised" License
This issue was automatically created by Allstar.
Security Policy Violation
Project is out of compliance with Binary Artifacts policy: binaries present in source code
Rule Description
Binary Artifacts are an increased security risk in your repository. Binary artifacts cannot be reviewed, allowing the introduction of possibly obsolete or maliciously subverted executables. For more information see the Security Scorecards Documentation for Binary Artifacts.
Remediation Steps
To remediate, remove the generated executable artifacts from the repository.
First 10 Artifacts Found
Additional Information
This policy is drawn from Security Scorecards, which is a tool that scores a project's adherence to security best practices. You may wish to run a Scorecards scan directly on this repository for more details.
Allstar has been installed on all Google managed GitHub orgs. Policies are gradually being rolled out and enforced by the GOSST and OSPO teams. Learn more at http://go/allstar
This issue will auto resolve when the policy is in compliance.
Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.
For example, use cmake to generate the header from downloaded certificate files.
CMake Error at third_party/mbedtls/CMakeLists.txt:58 (target_link_libraries):
The plain signature for target_link_libraries has already been used with
the target "mbedcrypto". All uses of target_link_libraries with a target
must be either all-keyword or all-plain.
To Reproduce
Running on Windows 10
cmake .. -DCMAKE_CXX_COMPILER="C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe" -DCMAKE_C_COMPILER="C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe" -DCMAKE_TOOLCHAIN_FILE=../cmake/arm-none-eabi.cmake -DPLATFORM_NAME=nrf52
CMake Warning:
Ignoring extra path from command line:
"../cmake/arm-none-eabi.cmake"
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
PLATFORM_NAME is nrf52
OT_PLATFORM_NAME is nrf52840
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.24/Modules/ExternalProject.cmake:2251 (message):
Policy CMP0114 is not set: ExternalProject step targets fully adopt their
steps. Run "cmake --help-policy CMP0114" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
ExternalProject target 'ot' would depend on the targets for step(s)
'configure' under policy CMP0114, but this is being left out for
compatibility since the policy is not set.
Call Stack (most recent call first):
third_party/openthread/CMakeLists.txt:96 (ExternalProject_Add_StepTargets)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Deprecation Warning at third_party/mbedtls/repo/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Error at third_party/mbedtls/CMakeLists.txt:58 (target_link_libraries):
The plain signature for target_link_libraries has already been used with
the target "mbedcrypto". All uses of target_link_libraries with a target
must be either all-keyword or all-plain.
The uses of the plain signature are here:
-- Configuring incomplete, errors occurred!`
Describe the bug
test mqtt
command results in hard fault on nRF52840
To Reproduce
Information to reproduce the behavior, including:
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/arm-none-eabi.cmake -DPLATFORM_NAME=nrf52 -DCLOUDIOT_DEVICE=my-device -DCLOUDIOT_REGISTRY=my-registry -DCLOUDIOT_PROJECT=ot-cloud-iot -DCLOUDIOT_REGION=us-central1 -DCLOUDIOT_PRIV_KEY=rsa_private.pem
Expected behavior
test mqtt
command succeeds as documented.
Console/log output
> ifconfig up
Done
> thread start
Done
> state
child
Done
> test mqtt
> Error during t
After this, the device is stuck in a hard fault and CLI is unresponsive.
I'm not sure this otrTaskNotifyGive()
line is necessary. If a user makes an OpenThread call using the OT_API_CALL(...)
macro from another FreeRTOS task and a call to otTaskletsProcess()
is required, won't the callback otSysEventSignalPending()
be called which also calls otrTaskNotifyGive()
? It seems this would duplicate the call to otrTaskNotifyGive()
. Not that big of a deal because each call to otrTaskNotifyGive()
will just run the application loop an extra time, but if you're running a low-power application you wouldn't really want that.
So as an example: Calling OT_API_CALL(otSetStateChangedCallback)
wouldn't actually require a call to otTaskletsProcess()
but the macro OT_API_CALL(...)
would force a call to that application layer function anyway.
Thanks
Hello, use the following command
cmake .. -DPLATFORM_NAME=linux
make -j12
Generate a file ot_cli_linux,If you run directly, the prompt is as follows:
Timer Resolution for Run TimeStats is 100 ticks per second.
It won't work。
GDB debugging found
It works to this function:
static void SuspendThread( pthread_t Thread )。
Then it can't continue to run,How can I continue to run?
Is your feature request related to a problem? Please describe.
Currently we are using ot
, otr
and otRtos
prefixes, which is quite confusing.
Describe the solution you'd like
Rename all the prefixes to otRtos
and use ot::rtos
namespaces for c++ codes.
Enable code coverage to avoid various issues.
Is your feature request related to a problem? Please describe.
It's possible to find this project is not compatible with the latest OpenThread too late. A daily cron job in Travis could help us to find the incompatibility in time.
Describe the solution you'd like
Create travis job to check with the latest OpenThread.
Additional context
#16
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.