mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-12 17:41:57 +00:00
Add basic 'lspci' command to list PCI devices. This command can be enabled with the new Kconfig PCI_SHELL. Example: uart:~$ lspci 0:1 8086:7010 class: 0x1, 1, 4, I/O, addrs: 0xC000-0xC00F, IRQ -1 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
8 lines
175 B
CMake
8 lines
175 B
CMake
zephyr_sources(
|
|
pci.c
|
|
pci_config.c
|
|
pci_interface.c
|
|
)
|
|
zephyr_sources_ifdef(CONFIG_PCI_LEGACY_BRIDGE pci_legacy_bridge.c)
|
|
zephyr_sources_ifdef(CONFIG_PCI_SHELL pci_shell.c)
|