Browse the documentation

Early preview

Listing devices

In the Open Engineering Language, you flash and monitor supported boards from the command line. oel devices lists the devices connected to your machine, so you can choose the one to work with.

Usage

oel devices
oel devices --json
OptionMeaning
--jsonThe list in machine-readable form.

What it shows

For each connected device, it shows:

  • Its identity: a stable identifier for the device. This is what you give to --device.
  • Where it is connected, such as the port it uses.
  • Which board it is, as far as it can be recognized, and what it offers.
  • Whether it is in use: a device that another command is flashing or monitoring is marked as busy.

What it never does

oel devices only looks. It never flashes, resets or changes a device, and it never selects one for you: every command that works on a device names it explicitly.

Choosing a device

Give the identity from the list to the commands that work on a device:

oel devices
oel flash --target <board> --device <device> --artifact build/sensors
oel monitor --device <device>

<device> stands for an identity from the list. Replace it with the real one: a command never guesses which device you meant.