A Swift library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux.
PeripheryKit
main
A Swift library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux.
CmST0us/PeripheryKit
Description
- Swift Tools 5.9.0
Description
{
"name": "PeripheryKit",
"path": "/usr/src/package",
"targets": [
{
"name": "pio",
"path": "Sources/pio",
"type": "executable",
"c99name": "pio",
"sources": [
"pio.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"pio"
],
"target_dependencies": [
"PeripheryKit"
]
},
{
"name": "PeripheryKitTests",
"path": "Tests/PeripheryKitTests",
"type": "test",
"c99name": "PeripheryKitTests",
"sources": [
"PeripheryKitTests.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"PeripheryKit"
]
},
{
"name": "PeripheryKit",
"path": "Sources/PeripheryKit",
"type": "library",
"c99name": "PeripheryKit",
"sources": [
"Button.swift",
"Buzzer.swift",
"Delay.swift",
"GPIO.swift",
"GPIOEventDispatcher.swift",
"I2C.swift",
"LED.swift",
"PWM.swift",
"Utils/Data+Int.swift",
"Utils/Int+Data.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"PeripheryKit_static",
"PeripheryKit_shared",
"pio"
],
"target_dependencies": [
"Cperiphery"
]
},
{
"name": "DownloadCPeriphery",
"path": "Plugins/DownloadCPeriphery",
"type": "plugin",
"c99name": "DownloadCPeriphery",
"sources": [
"DownloadCPeriphery.swift"
],
"module_type": "PluginTarget",
"plugin_capability": {
"type": "command",
"intent": {
"type": "custom",
"verb": "download-c-periphery",
"description": "Download c-periphery"
},
"permissions": [
{
"type": "allowNetworkConnections",
"reason": "Download packages",
"network_scope": {
"all": {
"ports": [
443
]
}
}
},
{
"type": "writeToPackageDirectory",
"reason": "Write packages",
"network_scope": {
"none": {}
}
}
]
}
},
{
"name": "Cperiphery",
"path": "Sources/Cperiphery",
"type": "library",
"c99name": "Cperiphery",
"sources": [
"gpio.c",
"gpio_cdev_v1.c",
"gpio_cdev_v2.c",
"gpio_sysfs.c",
"i2c.c",
"led.c",
"mmio.c",
"pwm.c",
"serial.c",
"shims.c",
"spi.c",
"version.c"
],
"module_type": "ClangTarget",
"product_memberships": [
"PeripheryKit_static",
"PeripheryKit_shared",
"pio"
]
}
],
"products": [
{
"name": "PeripheryKit_static",
"type": {
"library": [
"static"
]
},
"targets": [
"PeripheryKit"
]
},
{
"name": "PeripheryKit_shared",
"type": {
"library": [
"dynamic"
]
},
"targets": [
"PeripheryKit"
]
},
{
"name": "pio",
"type": {
"executable": null
},
"targets": [
"pio"
]
}
],
"platforms": [],
"dependencies": [],
"tools_version": "5.9",
"manifest_display_name": "PeripheryKit"
}
Package Dump
{
"name": "PeripheryKit",
"traits": [],
"targets": [
{
"name": "Cperiphery",
"type": "regular",
"exclude": [],
"settings": [
{
"kind": {
"define": {
"_0": "PERIPHERY_GPIO_CDEV_SUPPORT=1"
}
},
"tool": "c"
}
],
"resources": [],
"dependencies": [],
"packageAccess": true
},
{
"name": "PeripheryKit",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"Cperiphery",
null
]
}
],
"packageAccess": true
},
{
"name": "PeripheryKitTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"PeripheryKit",
null
]
}
],
"packageAccess": true
},
{
"name": "pio",
"type": "executable",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"PeripheryKit",
null
]
}
],
"packageAccess": true
},
{
"name": "DownloadCPeriphery",
"type": "plugin",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [],
"packageAccess": true,
"pluginCapability": {
"command": [
{
"custom": {
"verb": "download-c-periphery",
"description": "Download c-periphery"
}
},
[
{
"allowNetworkConnections": {
"scope": {
"all": {
"ports": [
443
]
}
},
"reason": "Download packages"
}
},
{
"writeToPackageDirectory": {
"reason": "Write packages"
}
}
]
]
}
}
],
"products": [
{
"name": "PeripheryKit_static",
"type": {
"library": [
"static"
]
},
"targets": [
"PeripheryKit"
]
},
{
"name": "PeripheryKit_shared",
"type": {
"library": [
"dynamic"
]
},
"targets": [
"PeripheryKit"
]
}
],
"pkgConfig": null,
"platforms": [],
"providers": null,
"packageKind": {
"root": [
"/usr/src/package"
]
},
"dependencies": [],
"toolsVersion": {
"_version": "5.9.0"
},
"cLanguageStandard": null,
"cxxLanguageStandard": null,
"swiftLanguageVersions": null
}
Dependencies
- None
Dependencies
{
"url": "/usr/src/package",
"name": "PeripheryKit",
"path": "/usr/src/package",
"version": "unspecified",
"identity": "package",
"dependencies": []
}