tree: 7ea9596d147f0a58578e8494b73a86d71f9638d2
  1. src/
  2. Cargo.toml
  3. create_assembly.sh
  4. README.md
  5. test_function_arm.s
smoke-tester/README.md

Smoke Testing Tool

Quick testing with a single chip

To test a single board quickly, the chip and probe can be specified directly on the command line:

cargo run -- --chip nrf51822_xxAB --probe 0d28:0204

Multiple boards

To regularly test multiple boards, it is recommended to create a folder containing the necessary setup data for these boards. In this folder, create a .toml file for each board, containing the following information:

# Test description for Microbit v1

chip = "nrf51822_xxAB"

probe_selector = "0d28:0204:9900360150494e4500492002000000600000000097969901"

# Optional binary (ELF format), used to test flashing. Needs to be specified as an absolute path.
flash_test_binary = "gpio_hal_blinky"

Specifying a binary for flashing is optional.

The smoke tester can called like this:

cargo run -- --dut-definitions <dut_dir>