mirror of
https://github.com/espressif/openthread.git
synced 2026-08-03 09:27:47 +00:00
[radio] use stack reset in RCP (#6645)
This commit makes RCP use a stack reset instead of doing a hard reset when a reset command is received.
This commit is contained in:
@@ -240,6 +240,30 @@ jobs:
|
||||
run: |
|
||||
script/check-posix-pty check
|
||||
|
||||
rcp-stack-reset:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Bootstrap
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
run: |
|
||||
sudo apt-get --no-install-recommends install -y expect ninja-build lcov socat
|
||||
sudo python3 -m pip install git+https://github.com/openthread/pyspinel
|
||||
- name: Build
|
||||
run: |
|
||||
script/cmake-build simulation -DOT_CSL_RECEIVER=ON -DOT_FULL_LOGS=ON -DOT_LOG_OUTPUT=PLATFORM_DEFINED
|
||||
- name: Run
|
||||
run: |
|
||||
python3 tests/scripts/misc/test_rcp_reset.py build/simulation/examples/apps/ncp/ot-rcp
|
||||
- name: Generate Coverage
|
||||
run: |
|
||||
./script/test generate_coverage gcc
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cov-rcp-stack-reset
|
||||
path: tmp/coverage.info
|
||||
|
||||
upload-coverage:
|
||||
needs:
|
||||
- expects-linux
|
||||
|
||||
Reference in New Issue
Block a user