tree: a3dec7d71c30f4fcae4d97797330f2a2c214774d [path history] [tgz]
  1. testdata/
  2. .gitignore
  3. conftest.py
  4. README.md
  5. test_arduino_error_detection.py
  6. test_arduino_rpc_server.py
  7. test_arduino_workflow.py
  8. test_utils.py
tests/micro/arduino/README.md

This directory contains tests for MicroTVM's integration with Arduino.

To run the test, you first need to be running in a Python environment with all of the appropriate TVM dependencies installed. You can run the test with:

$ cd tvm/tests/micro/arduino
$ pytest --board=spresense

Most of these tests require a supported Arduino board to be connected. If you don't want to run these tests, you can pass the flag --test-build-only to only test project generation and compilation.

To see the list of supported values for --board, run:

$ pytest --help

If you would like to test with a real hardware and need to target one of many identical devices, you have the option to pass the serial number for your development board.

$ pytest --board=due --serial-number="4873ce"