4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-01 10:40:25 +08:00
GUI 945114fd59
[DM/FEATURE] Support NVME (#9591)
* [DM/FEATURE] Support NVME

1. Support PRP and SGL (>= NVME v1.1) transport.
2. Support MSI/MSI-X for IO queues.
3. Support NVME on PCI.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-11-24 13:57:37 +08:00

19 lines
318 B
Python

from building import *
group = []
if not GetDepend(['RT_USING_NVME']):
Return('group')
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']
src = ['nvme.c']
if GetDepend(['RT_NVME_PCI']):
src += ['nvme-pci.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')