Skip to content

Commit

Permalink
Merge pull request #1388 from Emantor/doc/await-resource
Browse files Browse the repository at this point in the history
doc/development: document await_resources
  • Loading branch information
Emantor committed Jun 26, 2024
2 parents 9c5034a + a6f63a9 commit 4fd7caf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,12 @@ while the `shell` state uses the barebox state to cycle the board and then boot
the linux kernel.
The `off` state switches the power off.

Oftentimes it is also necessary to wait for specific resources to appear before
a transition can be continued. The `await_resources` function of the target
implements this functionality, it expects a list of resources to wait for and
optionally takes a timeout and whether the resource should be available or
unavailable.


Tips for Writing and Debugging Tests
------------------------------------
Expand Down

0 comments on commit 4fd7caf

Please sign in to comment.