Framework for automating tests involving hardware test fixtures.
Project description
It’s the delicious custard between your Continuous-Integration pipeline and your HIL test fixtures.
The nait
script is designed as a glue between CI automation like
buildkite or jenkins and a micro-controller test fixture physically
attached to a build host. This project may evolve over time to become more
generalized but for now we’re starting small.
To use the current version of the nait
script simply produce JLink Commander
scripts and hex files in one stage of your CI pipeline and deliver these
and nanaimo to a physical host your HIL rig is attached to.
Example of a Segger JLink EDU attached to an NXP S32K144EVB being used by nanaimo
Example:
nait -vv \ --port \ /dev/serial/by-id/usb-Signoid_Kft._USB-UART_adapter_MACX98-if00-port0 \ --port-speed 115200 \ *.jlink
JLink
This version of nanaimo does require a segger JLink and the Segger JLinkExe tool. Nanaimo uses JLinkExe to upload binaries and to reset the test target.
In the future we plan on adding support for OpenOCD and pyOCD both of which provide a portable API to a large set of micro-controllers but JLink is the industry standard and the JLink EDU Mini is an inexpensive probe (about $20 USD) with free software available for linux, mac, and Windows that can be used for non-commercial purposes. For open source projects this seems like an ideal solution.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for nanaimo-0.0.1-0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa2562811804d593246eddbe44ef5b4465b1a1a670bed6d84ce67532dc45e928 |
|
MD5 | 4a530a600fd484eccf5c077b52f9c8e9 |
|
BLAKE2b-256 | ca9af9813103673276da7b086d35e7a25669aa38b75924b8dec3796bb092c1bd |