Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

16.5.2.11. get_available_drivers

Usage

get_available_drivers <module_name>

Options

  • <module_name>: String with the name of the module to query.

Description

Returns a list of available device driver names that are compatible with the specified module instance. The list is empty if there are no drivers available for the specified slave descriptor. The format of each entry in the list is the driver name followed by a colon and the version number (if provided).

Example

puts [get_available_drivers jtag_uart] Returns: altera_avalon_jtag_uart_driver:7.2 altera_avalon_jtag_uart_driver:6.1