mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
modules: Update docs with 'setup' stage for module initialization
Update documentation to include the 'setup' stage for module initialization.
This commit is contained in:
parent
8654a6dc2b
commit
fa41bb01d2
@ -37,6 +37,9 @@ class Module(object):
|
||||
# serial).
|
||||
# 'connected' -- installed when a connection to to the target has been
|
||||
# established. This is the default.
|
||||
# 'setup' -- installed after initial setup of the device has been performed.
|
||||
# This allows the module to utilize assets deployed during the
|
||||
# setup stage for example 'Busybox'.
|
||||
stage = 'connected'
|
||||
|
||||
@staticmethod
|
||||
|
@ -212,6 +212,9 @@ define the following class attributes:
|
||||
:early: The module will be installed when a :class:`Target` is first
|
||||
created. This should be used for modules that do not rely on a
|
||||
live connection to the target.
|
||||
:setup: The module will be installed after initial setup of the device
|
||||
has been performed. This allows the module to utilize assets
|
||||
deployed during the setup stage for example 'Busybox'.
|
||||
|
||||
Additionally, a module must implement a static (or class) method :func:`probe`:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user