HomeCore 0.1.3 (07b5544)
Bare-metal personal computer firmware for Cortex-M
Loading...
Searching...
No Matches
Drivers

Device drivers instantiated from the compile-time device description. More...

Collaboration diagram for Drivers:

Modules

 Block devices
 Storage read and written in fixed-size sectors, such as a ramdisk.
 
 Console
 Direct access, outside the VFS, to the device named by chosen.console.
 
 GPIO
 Pin configuration, output, and input on GPIO ports.
 
 LEDs
 Numbered LEDs, their /dev/ledN files, and the driver interface.
 

Detailed Description

Device drivers instantiated from the compile-time device description.

soc.yaml and board.yaml describe the hardware; the generator creates each enabled device's configuration and calls its driver from dt_init(), after the devices it references. Driver headers are internal to src/drivers/; the public parts are the interfaces other code uses: the console, GPIO ports, LEDs, and block devices.

Drivers explains the model and links a page per driver class: Serial ports, GPIO ports, LEDs, and Block devices. Device bindings lists every compatible. See the Development guide's "Device description" section.