pytest-embedded-nuttx
A pytest-embedded service for testing Apache NuttX RTOS firmware on physical targets or in QEMU.
Service Activation
Activate this service by passing nuttx to --embedded-services. Combine with serial (and optionally esp for Espressif chips):
pytest --embedded-services serial,esp,nuttx --app-path /path/to/nuttx/build
Or run NuttX tests inside QEMU:
pytest --embedded-services qemu,nuttx --app-path /path/to/nuttx/build
Extra Functionalities
- NuttX App Detection: Scans the NuttX build directory for bootloader, partition table, and firmware ELF/binary files.
- NuttShell (NSH) Interaction: Seamlessly runs commands in NuttShell via the serial port and verifies command exit codes.
- Flashing & Reset Support: Leverages the
espservice to automatically flash Espressif chips and trigger hardware resets. - Emulation Support: Supports running NuttX binaries inside the QEMU emulator.
Quick Example
from pytest_embedded import Dut
def test_nuttx_shell(dut: Dut):
# Wait for the NuttShell prompt
dut.expect('nsh>')
dut.write('help\n')
dut.expect('Builtin Apps:')
Metadata
Release files for pytest-embedded-nuttx 2.10.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest_embedded_nuttx-2.10.2.tar.gz | 7.1 kB | Without provenance | Details for pytest_embedded_nuttx-2.10.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_embedded_nuttx-2.10.2-py3-none-any.whl | Python 3 | none | any | Details for pytest_embedded_nuttx-2.10.2-py3-none-any.whl |
Total release size: 14.7 kB
Release files / pytest_embedded_nuttx-2.10.2.tar.gz
| Download URL | pytest_embedded_nuttx-2.10.2.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b94eeaea23fd940ba0c96ea9412e0900b00412a0fd3f1d1d0521785eeb2f8d56
|
|
BLAKE2b-256 checksum How to use checksums |
1d860d92e4b9fd60b5c6b1d27d6d295ff128b1e3360acd6aa52ed60cb5c06aac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / pytest_embedded_nuttx-2.10.2-py3-none-any.whl
| Download URL | pytest_embedded_nuttx-2.10.2-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dcc859f8fa8307f597233f52abeb55b026b58ebd15023f6cf1ca2948f6f50ef6
|
|
BLAKE2b-256 checksum How to use checksums |
32983f8396e5a1dba5a345fd4ad010e6a6629a10f88eb048c262c100f63f878f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Security for pytest-embedded-nuttx 2.10.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.