Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- _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. --- Quote End --- Thanks, ted. I checked the Nios II BSP Editor and I can see the driver of the i2c is "none". I think this means the _sw.tcl has not been excuted properly. How can I fix this problem? Thanks.