Comments (3)
Hi,
The easiest thing would be to switch to using NCS. OpenThread is integrated there and you should be able to configure nrf_security. The disadvantage is that you would need to adapt your application to be able to work under Zephyr OS. Another disadvantage is that OpenThread fork in NCS/Zephyr is a little bit behind Vanilla OpenThread repo - we do the upmerges regularly, so it should not be far behind.
If you prefer to stay with current solution you still need to get NCS: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html
Then you can follow our "draft" guidelines:
1. Checkout nrf to https://github.com/MarekPorwisz/fw-nrfconnect-nrf/tree/vanilla_ot_nrf_security
2. Call west update
3. Checkout nrfxlib to https://github.com/MarekPorwisz/sdk-nrfxlib/tree/vanilla_ot_nrf_security (always after west update)
4. In case of using python3.6 => sudo apt-get install libpython3.6-dev
5. python3.6 -m pip install numpy west pyelftools
6. cd nrf/samples/openthread/cli
7. ./build_libs.sh
8. Built nrf_security is in openthread_mbedtls_out
**Notes:**
Keep in mind there are files not related to nrf_security in openthread that are placed in the nrf_security directory - do not remove them accidentally.
Oberon backend can be replaced with vanilla backend in the vanilla_nrf_sec.conf file if needed.
**Hint:**
When debugging FW build with the libraries (e.g. bare OpenThread) the debugger will not list the code as the source file paths will not match.
In such case one can check out the nrf_security branch used to build the libraries with git and then perform the path substitution in gdb.
Assuming that there are still libraries build by Marek in /home/map5/repo/ncs the command is as follows:
set substitute-path '/home/map5/repo/ncs' '<your_ncs_path>'
This will generate nrf_security for you. My forks were created based on NCS master not long after 1.4 release. If you wish to do the upmerge keep in mind that fw-nrfconnect-nrf (currently sdk-nrf) and sdk-nrfxlib need to be aligned. west.yml file in sdk-nrf indicates what version of sdk-nrfxlib is needed.
If I remember correctly samples/openthread/cli/vanilla_nrf_sec.conf file needs to be modified in order to enable/disable any additional features.
from ot-nrf528xx.
Thank you for your quick response, i will try that out and write back if it has helped.
from ot-nrf528xx.
Closing stale issue.
from ot-nrf528xx.
Related Issues (20)
- UART Abstraction hangs in otPlatUartFlush HOT 5
- Noob - Build options for OTBR RCP build HOT 6
- Nordic nRF52840DK - Unexpected RCP reset while running ot-daemon HOT 9
- [C] Platform------: HandleRcpTimeout() at radio_spinel_impl.hpp HOT 8
- NRF52840 dongle RCP via UART HOT 2
- RCP fails on Nordic nRF52840 DK HOT 4
- Problem with attaching devices HOT 5
- Problem with flashing OpenThread on Adafruit Feather nRF52840 Express HOT 1
- Adafruit Feather nRF52840 not shown as USB Device HOT 2
- [mdk] Request to update mdk to an up-to-date version HOT 2
- Nordic's nRF5340 DK support Request #8268 HOT 1
- E104-BT5040u USB Stick does not enter DFU mode after initial flashing HOT 4
- cant flash nrf52 dongle using nRFconnect for desktop. HOT 2
- nRF52840-Dongle with dual-bootloader setup HOT 1
- Missing content in CLI output of an OpenThread FTD running on nRF52840 DK HOT 15
- OT_ERROR_NOT_FOUND when canonical names received from otDnsClientResolveIp4Address() HOT 7
- RCP unexcpected reset after starting ot-daemon HOT 2
- /opt/nrfjprog/: No such file or directory HOT 15
- How to make ot-br-posix enable OT_BLE_TACT? HOT 17
- The first compilation after git pull code fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ot-nrf528xx.