mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Documentation: add drivers early initialization
Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
This commit is contained in:
@@ -283,3 +283,15 @@ The following skeleton files are available:
|
||||
* ``drivers/mtd/skeleton.c`` Skeleton memory technology device drivers
|
||||
* ``drivers/net/skeleton.c`` Skeleton network/Ethernet drivers
|
||||
* ``drivers/usbhost/usbhost_skeleton.c`` Skeleton USB host class driver
|
||||
|
||||
Drivers Early Initialization
|
||||
============================
|
||||
|
||||
To initialize drivers early in the boot process, the :c:func:`drivers_early_initialize`
|
||||
function is introduced. This is particularly beneficial for certain drivers,
|
||||
such as SEGGER SystemView, or others that require initialization before the
|
||||
system is fully operational.
|
||||
|
||||
It is important to note that during this early initialization phase,
|
||||
system resources are not yet available for use. This includes memory allocation,
|
||||
file systems, and any other system resources.
|
||||
|
||||
Reference in New Issue
Block a user