Skip to content

Commit

Permalink
Add test instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
seanavery committed Apr 28, 2024
1 parent 3b4d9f3 commit 83a4d82
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,17 @@ TARGET=arm64 make build-docker # builds arm64 targets in docker
```bash
TARGET=[amd64|arm64] make sync # copies build to local fs
```

### test

Run `lsusb` to find vendor and product id for ch340 device. Look for description such as:

```
Bus 003 Device 072: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapte
```

Run test script with vendor and prouct:

```
./build/tests/test_ch340 1a86 7523
```

0 comments on commit 83a4d82

Please sign in to comment.