This repo contains Visual Studio projects for building a driver, library and test application for the LitePCIe LiteX core.
The library is intended to have a compatible API with the liblitepcie found in the LitePCIe user software to facilitate cross platform applications.
-
Create a Test Signing Certificate
-
Enable loading Test Signed Drivers on your Test PC
-
Download and install Visual Studio 2022 and the WDK (https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk)
-
Open the solution
-
Setup a test certificate for the
litepciedrv
project -
Build the solution
-
Download and install the EWDK.
-
Launch the EWDK environment
> <EWDKInstallDir>\LaunchBuildEnv.cmd
- From within the EWDK environment, build the solution with
msbuild
<LitePCIe-Repo-Dir> > msbuild litepcie_driver_win.sln /p:Configuration=Debug /p:Platform=x64