Skip to content

Commit

Permalink
Add documentation to Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
behloulmedamine committed Sep 14, 2023
1 parent 56d48fa commit d2107c3
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ pip install robotframework

# Build the pico firmware

the project can be build with the following commmand, the `cmake` may take a couple of minutes.
This project has a github actions workflow that build the Pico firmware.

Othewise the project can be build with the following commmand, the `cmake` may take a couple of minutes.

```
cd pico-firmware
Expand All @@ -40,6 +42,17 @@ cp src/serial.uf2 /media/<user>/RPI-RP2/
```
# Run test

## 1. Using Robot script

Get the tty port of the pico in /dev, and set the variable **${PORT_NAME}** of the file tenma-control/tenma.robot with the right port.

To lunch the tests run:
```
robot -d results/ tenma.robot
```

## 2. Using python script

Use the script tenma-control/tenma\_72\_2710 to test the pico firmware, you can use the same script to control the **Tenma-72-2710** power supply.

### Get the Tenma command help
Expand Down

0 comments on commit d2107c3

Please sign in to comment.