Nios® V Processor Software Developer Handbook

ID 743810
Date 10/12/2024
Public
Document Table of Contents

8.8.3.3.2. No Specific Requests

If no specific device driver is requested, and no compatible device driver is located for a particular hardware module, the BSP Editor issues an informative message visible in either the debug or verbose generation output. This behavior is normal for many types of hardware, such as memory devices, that do not have device drivers.

Creating a Tcl script allows you to add extra definitions in the system.h file, enable automatic driver initialization through the alt_sys_init.c structure, and enable the Nios® V Processor Tools to control any extra parameters that might exist.

With the Tcl software definition files in place, the Software Build Tools read in the Tcl file and populate the CMakeLists.txt and other support files accordingly.

When the BSP Editor adds each driver or software package to the system, it uses the data in the Tcl script defining the driver or software package to control each file copied in to the BSP. This rule also affects generated BSP files such as the CMakeLists.txt, toolchain.cmake, system.h, and the BSP settings and summary HTML files.