Nios® V Processor Software Developer Handbook

ID 743810
Date 7/20/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

7.8.5.2.6. Specifying a Subdirectory

You can optionally specify a subdirectory in the generated BSP for your driver or software package files using the bsp_subdirectory argument to set_sw_property. All driver source and header files are copied to this directory, along with any path or hierarchy information specified with each source or header file. If no bsp_subdirectory is specified, your driver or software package is placed under the drivers folder of the generated BSP. Set the subdirectory as follows:

set_sw_property bsp_subdirectory my_driver

Note: If the path begins with the BSP type (e.g HAL, UCOSII, FREERTOS, or FreeRTOS-Kernel), the BSP type is removed and replaced with the value of the bsp_subdirectory property.