cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lkdi15
Visitor
Visitor
226 Views
Registered: ‎11-18-2020

Using Xilinx API's from gpio driver in XilinxProcessorIPLib

I am trying to use some of Xilinx API's from gpio module in XilinxProcessorIPLib by includeing xgpio.h header file,  but i am facing compilation error (fatal error: xgpio.h: No such file or directory).

I am doing a    #include "xgpio.h" in    "xfsbl_main.c" , is there some way where i can enable the gpio driver module so that it gets included with fsbl source code

Tags (1)
0 Kudos
1 Reply
stephenm
Xilinx Employee
Xilinx Employee
151 Views
Registered: ‎09-12-2007

Are you trying to use the API in the XilinxProcessorIPLib in Linux? The drivers here are baremetal drivers, and will not work in linux.

If you are using baremetal, then you can go to the BSP settings in Vitis, and add the gpio driver here. 

0 Kudos