Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

7.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.