mirror of
https://github.com/espressif/openthread.git
synced 2026-09-13 12:40:05 +00:00
[docs] updates to run CC1352 and CC2652 as rcp with ot-br-posix (#5865)
This commit is contained in:
@@ -13,7 +13,8 @@ Hardware requirements:
|
|||||||
CC2652](https://openthread.io/vendors/texas-instruments#cc2652)) for Thread
|
CC2652](https://openthread.io/vendors/texas-instruments#cc2652)) for Thread
|
||||||
network connectivity in an RCP design
|
network connectivity in an RCP design
|
||||||
|
|
||||||
Steps to enable
|
Steps to enable:
|
||||||
|
|
||||||
1. Download and install the OS.
|
1. Download and install the OS.
|
||||||
1. Prepare the Debian Environment for OTBR
|
1. Prepare the Debian Environment for OTBR
|
||||||
1. Build and install OTBR
|
1. Build and install OTBR
|
||||||
@@ -73,7 +74,7 @@ $ sudo systemctl disable bonescript.service
|
|||||||
$ sudo systemctl disable cloud9.socket
|
$ sudo systemctl disable cloud9.socket
|
||||||
$ sudo systemctl disable cloud9.service
|
$ sudo systemctl disable cloud9.service
|
||||||
$ sudo systemctl disable nodered.service
|
$ sudo systemctl disable nodered.service
|
||||||
$ sudo systemctl daemon-relaod
|
$ sudo systemctl daemon-reload
|
||||||
```
|
```
|
||||||
|
|
||||||
Disable advertising the Cloud9 IDE and NodeRED services with Avahi by deleting
|
Disable advertising the Cloud9 IDE and NodeRED services with Avahi by deleting
|
||||||
@@ -87,7 +88,7 @@ The filesystem for the uSD BeagleBone image is limited to 4GB to fit on most
|
|||||||
uSD cards. Expand the partition to enable usage of the entire storage capacity.
|
uSD cards. Expand the partition to enable usage of the entire storage capacity.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo /opt/scripts/tools/grow_partitions.sh
|
$ sudo /opt/scripts/tools/grow_partition.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
You are encouraged to read that helper script to find out how the filesystem is
|
You are encouraged to read that helper script to find out how the filesystem is
|
||||||
@@ -100,9 +101,14 @@ $ sudo shutdown -r now
|
|||||||
|
|
||||||
This will close your SSH session.
|
This will close your SSH session.
|
||||||
|
|
||||||
Once logged back into the BeagleBone, install Network Manager with the command
|
Once logged back into the BeagleBone, install Network Manager:
|
||||||
`sudo apt-get install network-manager`. Then disable `connman` and enable
|
|
||||||
`network-manager`:
|
```
|
||||||
|
$ sudo apt-get update
|
||||||
|
$ sudo apt-get install network-manager
|
||||||
|
```
|
||||||
|
|
||||||
|
Then disable `connman` and enable `network-manager`:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo systemctl disable connman
|
$ sudo systemctl disable connman
|
||||||
@@ -139,7 +145,7 @@ BBONE-GATEWAY-CAPE. Some of these may not be required.
|
|||||||
The WiLink 8 module does not like to have its MAC address changed at runtime.
|
The WiLink 8 module does not like to have its MAC address changed at runtime.
|
||||||
Network Manager will try to do this when scanning. Edit the
|
Network Manager will try to do this when scanning. Edit the
|
||||||
`NetworkManager.conf` with the command `sudo vim
|
`NetworkManager.conf` with the command `sudo vim
|
||||||
/etc/Networkmanager/NetworkManager.conf` and add the lines below:
|
/etc/NetworkManager/NetworkManager.conf` and add the lines below:
|
||||||
|
|
||||||
```
|
```
|
||||||
[device]
|
[device]
|
||||||
|
|||||||
@@ -1484,7 +1484,8 @@ otRadioCaps otPlatRadioGetCaps(otInstance *aInstance)
|
|||||||
{
|
{
|
||||||
OT_UNUSED_VARIABLE(aInstance);
|
OT_UNUSED_VARIABLE(aInstance);
|
||||||
|
|
||||||
return OT_RADIO_CAPS_ACK_TIMEOUT | OT_RADIO_CAPS_ENERGY_SCAN | OT_RADIO_CAPS_TRANSMIT_RETRIES;
|
return (otRadioCaps)(OT_RADIO_CAPS_ACK_TIMEOUT | OT_RADIO_CAPS_ENERGY_SCAN | OT_RADIO_CAPS_TRANSMIT_RETRIES |
|
||||||
|
OT_RADIO_CAPS_CSMA_BACKOFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1465,7 +1465,8 @@ otRadioCaps otPlatRadioGetCaps(otInstance *aInstance)
|
|||||||
{
|
{
|
||||||
OT_UNUSED_VARIABLE(aInstance);
|
OT_UNUSED_VARIABLE(aInstance);
|
||||||
|
|
||||||
return OT_RADIO_CAPS_ACK_TIMEOUT | OT_RADIO_CAPS_ENERGY_SCAN | OT_RADIO_CAPS_TRANSMIT_RETRIES;
|
return (otRadioCaps)(OT_RADIO_CAPS_ACK_TIMEOUT | OT_RADIO_CAPS_ENERGY_SCAN | OT_RADIO_CAPS_TRANSMIT_RETRIES |
|
||||||
|
OT_RADIO_CAPS_CSMA_BACKOFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user