XDMA Windos Drive编译

本文指导如何在VisualStudio2019中安装WindowsDriverKit(WDK)2004版本,包括SDK选择、项目打开和调试过程中的常见错误处理,如MSB8040错误的解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、先安装 Visual Studio 2019 community + WIN10版本

2、下载并不安装,最后再安装Download the Windows Driver Kit (WDK) - Windows drivers | Microsoft Learn

以前的 WDK 版本和其他下载 - Windows 驱动程序 |Microsoft学习

注意版本:下载2004的版本

Download the Windows Driver Kit (WDK) - Windows drivers | Microsoft Learn

Previous WDK versions and other downloads - Windows drivers | Microsoft Learn

3、

选择使用10.0.19041.0 安装这个sdk.

先按VS2019 然后SDK,最后安装WDK。

安装完成后能看到驱动开发模板:

xdma windos 源码:

打开项目:

调试-》选项

如果出现错误最好全选:

Windows驱动开发错误:MSB8040 此项目需要缓解了Sprctre漏洞的库,再安装一下MSVC版本就行了。

如果有报错:-2 "Inf2Cat, signability test failed." 

xilliix pcie dma 驱动 (基于 xilnx xdma ip核 4.0 的WDF驱动) --- # XDMA Windows Driver This project is Xilinx's sample Windows driver for 'DMA/Bridge Subsystem for PCI Express v4.0' (XDMA) IP. *Please note that this driver and associated software are supplied to give a basic generic reference implementation only. Customers may have specific use-cases and/or requirements for which this driver is not suitable.* ### Dependencies * Target machine running Windows 7 or Windows 10 * Development machine running Windows 7 (or later) * Visual Studio 2015 (or later) installed on development machine * Windows Driver Kit (WDK) version 1703 (or later) installed on development machine ## Directory Structure ``` / |__ build/ - Generated directory containing build output binaries. |__ exe/ - Contains sample client application source code. | |__ simple_dma/ - Sample code for AXI-MM configured XDMA IP. | |__ streaming_dma/ - Sample code for AXI-ST configured XDMA IP. | |__ user_events/ - Sample code for access to user event interrupts. | |__ xdma_info/ - Utility application which prints out the XDMA core ip | | configuration. | |__ xdma_rw/ - Utility for reading/writing to/from xdma device nodes such | | as control, user, bypass, h2c_0, c2h_0 etc. | |__ xdma_test/ - Basic test application which performs H2C/C2H transfers on | all present channels. |__ inc/ - Contains public API header file for XDMA driver. |__ libxdma/ - Static kernel library for XDMA IP. |__ sys/ - Reference driver source code which uses libxdma |__ README.md - This file. |__ XDMA.sln - Visual Studio Solution. ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

乾 乾

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值