Ken Van Hoeylandt 4b6ed871a9
Implemented TactilityKernel and DevicetreeCompiler, updated licenses & copyrights (#452)
**New features**

- Created a devicetree DTS and YAML parser in Python
- Created new modules:
  - TactilityKernel (LGPL v3.0 license)
  - Platforms/PlatformEsp32 (LGPL v3.0 license) 
  - Platforms/PlatformPosix (LGPL v3.0 license)
  - Tests/TactilityKernelTests

Most boards have a placeholder DTS file, while T-Lora Pager has a few devices attached.

**Licenses**

Clarified licenses and copyrights better.

- Add explanation about the intent behind them.
- Added explanation about licenses for past and future subprojects
- Added more details explanations with regards to the logo usage
- Copied licenses to subprojects to make it more explicit
2026-01-24 15:47:11 +01:00

43 lines
635 B
Python

from dataclasses import dataclass
@dataclass
class DtsVersion:
version: str
@dataclass
class Device:
identifier: str
properties: list
devices: list
@dataclass
class DeviceProperty:
name: str
type: str
value: object
@dataclass
class PropertyValue:
type: str
value: object
@dataclass
class IncludeC:
statement: str
@dataclass
class BindingProperty:
name: str
type: str
required: bool
description: str
@dataclass
class Binding:
filename: str
compatible: list[str]
description: str
properties: list[BindingProperty]
includes: list[str]
bus: str = None