Skip to content

Conversation

charles37
Copy link
Contributor

@charles37 charles37 commented Jul 17, 2025

IEEE 802.15.4 radio and OpenThread networking tests to the tock-hardware-ci framework. These tests were
converted from the existing Tensile test suite to use the standard tock-hardware-ci testing patterns, enabling automated testing of
wireless communication functionality on physical nRF52840 development boards.

What's New

Tests Added

  • ieee802154_radio_tx.py - Single-board test verifying 802.15.4 packet transmission
  • ieee802154_radio_rx.py - Multi-board test verifying packet transmission and reception between two boards
  • ieee802154_radio_tx_raw.py - Multi-board test for raw 802.15.4 packet transmission
  • openthread_hello.py - Multi-board test verifying OpenThread network joining functionality

GitHub Workflow

  • ieee802154-openthread-tests.yml - Dedicated workflow that targets the specific supervisor (fb1384d5-e1a5-469c-beb4-0d4d215c9793) with 4
    connected nRF52840dk boards

charles37 added 12 commits June 24, 2025 13:22
Refactors tock-hardware-ci to support testing across multiple boards simultaneously, enabling hardware interaction tests like BLE communication between devices.

Key Changes:
- Multi-board support: Tests can now coordinate actions across multiple boards via --board-descriptors argument
- Board descriptors: YAML files in board_descriptors/<supervisor-uuid>/ specify board configuration (serial number, GPIO mappings, features)
- Enhanced targeting: Boards are identified by J-Link serial numbers for precise device control
- Automatic board detection: Workflows read /run/tml/host-id to find the correct board descriptor
- Backward compatible: Existing single-board tests continue to work unchanged

Benefits:
- Enables BLE, I2C, SPI and other inter-board communication testing
- Better hardware targeting and GPIO configuration
- Flexible test architecture for complex hardware scenarios
  feat: Add multi-board test support for hardware CI
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 17, 2025 17:18 — with GitHub Actions Inactive
@charles37 charles37 changed the title feat: Add multi-board test support for hardware CI feat: Add IEEE 802.15.4 and OpenThread Tests Jul 17, 2025
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 18, 2025 17:09 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 18, 2025 17:09 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 22, 2025 16:19 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 22, 2025 16:20 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 22, 2025 16:24 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 25, 2025 19:14 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 25, 2025 19:14 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 25, 2025 19:59 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 25, 2025 19:59 — with GitHub Actions Inactive
@lschuermann lschuermann temporarily deployed to treadmill-ci-merged July 25, 2025 23:54 — with GitHub Actions Inactive
@lschuermann lschuermann temporarily deployed to treadmill-ci-merged July 25, 2025 23:54 — with GitHub Actions Inactive
@lschuermann lschuermann temporarily deployed to treadmill-ci-merged July 26, 2025 00:06 — with GitHub Actions Inactive
@lschuermann lschuermann temporarily deployed to treadmill-ci-merged July 26, 2025 00:13 — with GitHub Actions Inactive
@lschuermann lschuermann temporarily deployed to treadmill-ci-merged July 26, 2025 00:13 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 26, 2025 03:35 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 26, 2025 03:35 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 26, 2025 04:05 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 26, 2025 04:05 — with GitHub Actions Inactive
@charles37 charles37 temporarily deployed to treadmill-ci-merged July 29, 2025 17:37 — with GitHub Actions Inactive
@charles37 charles37 deployed to treadmill-ci-merged July 29, 2025 17:37 — with GitHub Actions Active
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe move to a subdirectory or fetch it from somewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants