mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-18 17:35:05 +00:00
WIP
This commit is contained in:
parent
b4966c36f6
commit
a3d7a2745d
7
Devices/btt-panda-touch/Source/Drivers.cpp
Normal file
7
Devices/btt-panda-touch/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/btt-panda-touch/devicetree.yaml
Normal file
3
Devices/btt-panda-touch/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/cyd-2432s024c/Source/Drivers.cpp
Normal file
7
Devices/cyd-2432s024c/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/cyd-2432s024c/devicetree.yaml
Normal file
3
Devices/cyd-2432s024c/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/cyd-2432s028r/Source/Drivers.cpp
Normal file
7
Devices/cyd-2432s028r/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/cyd-2432s028r/devicetree.yaml
Normal file
3
Devices/cyd-2432s028r/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/cyd-2432s028rv3/Source/Drivers.cpp
Normal file
7
Devices/cyd-2432s028rv3/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/cyd-2432s028rv3/devicetree.yaml
Normal file
3
Devices/cyd-2432s028rv3/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/cyd-2432s032c/Source/Drivers.cpp
Normal file
7
Devices/cyd-2432s032c/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/cyd-2432s032c/devicetree.yaml
Normal file
3
Devices/cyd-2432s032c/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/cyd-4848s040c/Source/Drivers.cpp
Normal file
7
Devices/cyd-4848s040c/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/cyd-4848s040c/devicetree.yaml
Normal file
3
Devices/cyd-4848s040c/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/cyd-8048s043c/Source/Drivers.cpp
Normal file
7
Devices/cyd-8048s043c/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/cyd-8048s043c/devicetree.yaml
Normal file
3
Devices/cyd-8048s043c/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/cyd-e32r28t/Source/Drivers.cpp
Normal file
7
Devices/cyd-e32r28t/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/cyd-e32r28t/devicetree.yaml
Normal file
3
Devices/cyd-e32r28t/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/cyd-e32r32p/Source/Drivers.cpp
Normal file
7
Devices/cyd-e32r32p/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/cyd-e32r32p/devicetree.yaml
Normal file
3
Devices/cyd-e32r32p/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/elecrow-crowpanel-advance-28/Source/Drivers.cpp
Normal file
7
Devices/elecrow-crowpanel-advance-28/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/elecrow-crowpanel-advance-28/devicetree.yaml
Normal file
3
Devices/elecrow-crowpanel-advance-28/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/elecrow-crowpanel-advance-35/Source/Drivers.cpp
Normal file
7
Devices/elecrow-crowpanel-advance-35/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/elecrow-crowpanel-advance-35/devicetree.yaml
Normal file
3
Devices/elecrow-crowpanel-advance-35/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/elecrow-crowpanel-advance-50/Source/Drivers.cpp
Normal file
7
Devices/elecrow-crowpanel-advance-50/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/elecrow-crowpanel-advance-50/devicetree.yaml
Normal file
3
Devices/elecrow-crowpanel-advance-50/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/elecrow-crowpanel-basic-28/Source/Drivers.cpp
Normal file
7
Devices/elecrow-crowpanel-basic-28/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/elecrow-crowpanel-basic-28/devicetree.yaml
Normal file
3
Devices/elecrow-crowpanel-basic-28/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/elecrow-crowpanel-basic-35/Source/Drivers.cpp
Normal file
7
Devices/elecrow-crowpanel-basic-35/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/elecrow-crowpanel-basic-35/devicetree.yaml
Normal file
3
Devices/elecrow-crowpanel-basic-35/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/elecrow-crowpanel-basic-50/Source/Drivers.cpp
Normal file
7
Devices/elecrow-crowpanel-basic-50/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/elecrow-crowpanel-basic-50/devicetree.yaml
Normal file
3
Devices/elecrow-crowpanel-basic-50/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/generic-esp32/Source/Drivers.cpp
Normal file
7
Devices/generic-esp32/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/generic-esp32/devicetree.yaml
Normal file
3
Devices/generic-esp32/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/generic-esp32c6/Source/Drivers.cpp
Normal file
7
Devices/generic-esp32c6/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/generic-esp32c6/devicetree.yaml
Normal file
3
Devices/generic-esp32c6/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/generic-esp32p4/Source/Drivers.cpp
Normal file
7
Devices/generic-esp32p4/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/generic-esp32p4/devicetree.yaml
Normal file
3
Devices/generic-esp32p4/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/generic-esp32s3/Source/Drivers.cpp
Normal file
7
Devices/generic-esp32s3/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/generic-esp32s3/devicetree.yaml
Normal file
3
Devices/generic-esp32s3/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/guition-jc1060p470ciwy/Source/Drivers.cpp
Normal file
7
Devices/guition-jc1060p470ciwy/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/guition-jc1060p470ciwy/devicetree.yaml
Normal file
3
Devices/guition-jc1060p470ciwy/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/guition-jc2432w328c/Source/Drivers.cpp
Normal file
7
Devices/guition-jc2432w328c/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/guition-jc2432w328c/devicetree.yaml
Normal file
3
Devices/guition-jc2432w328c/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/guition-jc8048w550c/Source/Drivers.cpp
Normal file
7
Devices/guition-jc8048w550c/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/guition-jc8048w550c/devicetree.yaml
Normal file
3
Devices/guition-jc8048w550c/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/heltec-wifi-lora-32-v3/Source/Drivers.cpp
Normal file
7
Devices/heltec-wifi-lora-32-v3/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/heltec-wifi-lora-32-v3/devicetree.yaml
Normal file
3
Devices/heltec-wifi-lora-32-v3/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/lilygo-tdeck/Source/Drivers.cpp
Normal file
7
Devices/lilygo-tdeck/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/lilygo-tdeck/devicetree.yaml
Normal file
3
Devices/lilygo-tdeck/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/lilygo-tdisplay-s3/Source/Drivers.cpp
Normal file
7
Devices/lilygo-tdisplay-s3/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/lilygo-tdisplay-s3/devicetree.yaml
Normal file
3
Devices/lilygo-tdisplay-s3/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/lilygo-tdisplay/Source/Drivers.cpp
Normal file
7
Devices/lilygo-tdisplay/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/lilygo-tdisplay/devicetree.yaml
Normal file
3
Devices/lilygo-tdisplay/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/lilygo-tdongle-s3/Source/Drivers.cpp
Normal file
7
Devices/lilygo-tdongle-s3/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/lilygo-tdongle-s3/devicetree.yaml
Normal file
3
Devices/lilygo-tdongle-s3/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
10
Devices/lilygo-tlora-pager/Source/Drivers.cpp
Normal file
10
Devices/lilygo-tlora-pager/Source/Drivers.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include <Tactility/Driver.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
extern Driver tlora_pager_driver;
|
||||
driver_construct(&tlora_pager_driver);
|
||||
}
|
||||
|
||||
}
|
||||
10
Devices/lilygo-tlora-pager/Source/drivers/Register.cpp
Normal file
10
Devices/lilygo-tlora-pager/Source/drivers/Register.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include <Tactility/Driver.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
extern Driver tlora_pager_driver;
|
||||
driver_construct(&tlora_pager_driver);
|
||||
}
|
||||
|
||||
}
|
||||
@ -14,7 +14,7 @@ static int stop(Device* device) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Driver tlora_pager_driver = {
|
||||
extern Driver tlora_pager_driver = {
|
||||
.name = "T-Lora Pager",
|
||||
.compatible = (const char*[]) { "lilygo,tlora-pager", nullptr },
|
||||
.start_device = start,
|
||||
|
||||
7
Devices/m5stack-cardputer-adv/Source/Drivers.cpp
Normal file
7
Devices/m5stack-cardputer-adv/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/m5stack-cardputer-adv/devicetree.yaml
Normal file
3
Devices/m5stack-cardputer-adv/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/m5stack-cardputer/Source/Drivers.cpp
Normal file
7
Devices/m5stack-cardputer/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/m5stack-cardputer/devicetree.yaml
Normal file
3
Devices/m5stack-cardputer/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/m5stack-core2/Source/Drivers.cpp
Normal file
7
Devices/m5stack-core2/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/m5stack-core2/devicetree.yaml
Normal file
3
Devices/m5stack-core2/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/m5stack-cores3/Source/Drivers.cpp
Normal file
7
Devices/m5stack-cores3/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/m5stack-cores3/devicetree.yaml
Normal file
3
Devices/m5stack-cores3/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/m5stack-stickc-plus/Source/Drivers.cpp
Normal file
7
Devices/m5stack-stickc-plus/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/m5stack-stickc-plus/devicetree.yaml
Normal file
3
Devices/m5stack-stickc-plus/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/m5stack-stickc-plus2/Source/Drivers.cpp
Normal file
7
Devices/m5stack-stickc-plus2/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/m5stack-stickc-plus2/devicetree.yaml
Normal file
3
Devices/m5stack-stickc-plus2/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
8
Devices/placeholder.dts
Normal file
8
Devices/placeholder.dts
Normal file
@ -0,0 +1,8 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include <Tactility/bindings/root.h>
|
||||
|
||||
/ {
|
||||
compatible = "root";
|
||||
model = "Placeholder";
|
||||
};
|
||||
7
Devices/simulator/Source/Drivers.cpp
Normal file
7
Devices/simulator/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,4 +1,3 @@
|
||||
dependencies:
|
||||
- core
|
||||
bindings: ./
|
||||
dts: simulator.dts
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
|
||||
7
Devices/unphone/Source/Drivers.cpp
Normal file
7
Devices/unphone/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/unphone/devicetree.yaml
Normal file
3
Devices/unphone/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/waveshare-esp32-s3-geek/Source/Drivers.cpp
Normal file
7
Devices/waveshare-esp32-s3-geek/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/waveshare-esp32-s3-geek/devicetree.yaml
Normal file
3
Devices/waveshare-esp32-s3-geek/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/waveshare-s3-lcd-13/Source/Drivers.cpp
Normal file
7
Devices/waveshare-s3-lcd-13/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/waveshare-s3-lcd-13/devicetree.yaml
Normal file
3
Devices/waveshare-s3-lcd-13/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/waveshare-s3-touch-lcd-128/Source/Drivers.cpp
Normal file
7
Devices/waveshare-s3-touch-lcd-128/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/waveshare-s3-touch-lcd-128/devicetree.yaml
Normal file
3
Devices/waveshare-s3-touch-lcd-128/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/waveshare-s3-touch-lcd-147/Source/Drivers.cpp
Normal file
7
Devices/waveshare-s3-touch-lcd-147/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/waveshare-s3-touch-lcd-147/devicetree.yaml
Normal file
3
Devices/waveshare-s3-touch-lcd-147/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/waveshare-s3-touch-lcd-43/Source/Drivers.cpp
Normal file
7
Devices/waveshare-s3-touch-lcd-43/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/waveshare-s3-touch-lcd-43/devicetree.yaml
Normal file
3
Devices/waveshare-s3-touch-lcd-43/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
7
Devices/wireless-tag-wt32-sc01-plus/Source/Drivers.cpp
Normal file
7
Devices/wireless-tag-wt32-sc01-plus/Source/Drivers.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
extern "C" {
|
||||
|
||||
extern void register_device_drivers() {
|
||||
/* NO-OP */
|
||||
}
|
||||
|
||||
}
|
||||
3
Devices/wireless-tag-wt32-sc01-plus/devicetree.yaml
Normal file
3
Devices/wireless-tag-wt32-sc01-plus/devicetree.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- TactilityKernel
|
||||
dts: ../placeholder.dts
|
||||
12
Drivers/drivers-esp/source/Register.cpp
Normal file
12
Drivers/drivers-esp/source/Register.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
#include <Tactility/Driver.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
extern void register_platform_drivers() {
|
||||
extern Driver esp32_gpio_driver;
|
||||
driver_construct(&esp32_gpio_driver);
|
||||
extern Driver esp32_i2c_driver;
|
||||
driver_construct(&esp32_i2c_driver);
|
||||
}
|
||||
|
||||
}
|
||||
@ -14,6 +14,10 @@ extern const tt::hal::Configuration hardwareConfiguration;
|
||||
|
||||
extern "C" {
|
||||
|
||||
extern void register_kernel_drivers();
|
||||
extern void register_platform_drivers();
|
||||
extern void register_device_drivers();
|
||||
|
||||
void app_main() {
|
||||
static const tt::Configuration config = {
|
||||
/**
|
||||
@ -27,14 +31,9 @@ void app_main() {
|
||||
tt_init_tactility_c(); // ELF bindings for side-loading on ESP32
|
||||
#endif
|
||||
|
||||
extern Driver root_driver;
|
||||
extern Driver tlora_pager_driver;
|
||||
extern Driver esp32_gpio_driver;
|
||||
extern Driver esp32_i2c_driver;
|
||||
driver_construct(&root_driver);
|
||||
driver_construct(&tlora_pager_driver);
|
||||
driver_construct(&esp32_gpio_driver);
|
||||
driver_construct(&esp32_i2c_driver);
|
||||
register_kernel_drivers();
|
||||
register_platform_drivers();
|
||||
register_device_drivers();
|
||||
|
||||
devices_builtin_init();
|
||||
tt::run(config);
|
||||
|
||||
10
TactilityKernel/source/drivers/Register.cpp
Normal file
10
TactilityKernel/source/drivers/Register.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include <Tactility/Driver.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
extern void register_kernel_drivers() {
|
||||
extern Driver root_driver;
|
||||
driver_construct(&root_driver);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user