Nios® II Software Developer Handbook

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

8.4. Development Flow for Creating Device Drivers

The steps to develop a new driver for the HAL depend on your device details. However, the following generic steps apply to all device classes.
  1. Create the device header file that describes the registers. This header file might be the only interface required.
  2. Implement the driver functionality.
  3. Test from main().
  4. Proceed to the final integration of the driver in the HAL environment.
  5. Integrate the device driver in the HAL framework.