Forum Discussion
Altera_Forum
Honored Contributor
11 years ago_sw.tcl files are used by nios2-bsp-editor
Open nios2-bsp-editor Look at the "Driver" tab of the GUI. The "Driver Name" for the I2C component should be something other than "none". This means that the BSP editor found the _sw.tcl and assigned that driver to the hardware block for you. When you generate the BSP, the driver .h and .c files will be included in your build and you can invoke the functions from your application.