mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-20 15:35:05 +00:00
Replace Drivers.cpp with module.cpp for all devices
This commit is contained in:
parent
efebce6811
commit
c7aa11203b
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/btt-panda-touch/Source/module.cpp
Normal file
22
Devices/btt-panda-touch/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "BigTreeTech Panda Touch / K Touch",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/cyd-2432s024c/Source/module.cpp
Normal file
22
Devices/cyd-2432s024c/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/cyd-2432s028r/Source/module.cpp
Normal file
22
Devices/cyd-2432s028r/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/cyd-2432s028rv3/Source/module.cpp
Normal file
22
Devices/cyd-2432s028rv3/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/cyd-2432s032c/Source/module.cpp
Normal file
22
Devices/cyd-2432s032c/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/cyd-4848s040c/Source/module.cpp
Normal file
22
Devices/cyd-4848s040c/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/cyd-8048s043c/Source/module.cpp
Normal file
22
Devices/cyd-8048s043c/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/cyd-e32r28t/Source/module.cpp
Normal file
22
Devices/cyd-e32r28t/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/cyd-e32r32p/Source/module.cpp
Normal file
22
Devices/cyd-e32r32p/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/elecrow-crowpanel-advance-28/Source/module.cpp
Normal file
22
Devices/elecrow-crowpanel-advance-28/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/elecrow-crowpanel-advance-35/Source/module.cpp
Normal file
22
Devices/elecrow-crowpanel-advance-35/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/elecrow-crowpanel-advance-50/Source/module.cpp
Normal file
22
Devices/elecrow-crowpanel-advance-50/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/elecrow-crowpanel-basic-28/Source/module.cpp
Normal file
22
Devices/elecrow-crowpanel-basic-28/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/elecrow-crowpanel-basic-35/Source/module.cpp
Normal file
22
Devices/elecrow-crowpanel-basic-35/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/elecrow-crowpanel-basic-50/Source/module.cpp
Normal file
22
Devices/elecrow-crowpanel-basic-50/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/generic-esp32/Source/module.cpp
Normal file
22
Devices/generic-esp32/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/generic-esp32c6/Source/module.cpp
Normal file
22
Devices/generic-esp32c6/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/generic-esp32p4/Source/module.cpp
Normal file
22
Devices/generic-esp32p4/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/generic-esp32s3/Source/module.cpp
Normal file
22
Devices/generic-esp32s3/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/guition-jc1060p470ciwy/Source/module.cpp
Normal file
22
Devices/guition-jc1060p470ciwy/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/guition-jc2432w328c/Source/module.cpp
Normal file
22
Devices/guition-jc2432w328c/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/guition-jc8048w550c/Source/module.cpp
Normal file
22
Devices/guition-jc8048w550c/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/heltec-wifi-lora-32-v3/Source/module.cpp
Normal file
22
Devices/heltec-wifi-lora-32-v3/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -12,7 +12,7 @@ static error_t stop() {
|
|||||||
return ERROR_NONE;
|
return ERROR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @warn The variable name must be exactly "platform_module" */
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
struct Module device_module = {
|
struct Module device_module = {
|
||||||
.name = "LilyGO T-Deck",
|
.name = "LilyGO T-Deck",
|
||||||
.start = start,
|
.start = start,
|
||||||
|
|||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/lilygo-tdisplay-s3/Source/module.cpp
Normal file
22
Devices/lilygo-tdisplay-s3/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/lilygo-tdisplay/Source/module.cpp
Normal file
22
Devices/lilygo-tdisplay/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/lilygo-tdongle-s3/Source/module.cpp
Normal file
22
Devices/lilygo-tdongle-s3/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -20,7 +20,7 @@ static error_t stop() {
|
|||||||
return ERROR_NONE;
|
return ERROR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @warn The variable name must be exactly "platform_module" */
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
struct Module device_module = {
|
struct Module device_module = {
|
||||||
.name = "LilyGO T-Lora Pager",
|
.name = "LilyGO T-Lora Pager",
|
||||||
.start = start,
|
.start = start,
|
||||||
|
|||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/m5stack-cardputer-adv/Source/module.cpp
Normal file
22
Devices/m5stack-cardputer-adv/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/m5stack-cardputer/Source/module.cpp
Normal file
22
Devices/m5stack-cardputer/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/m5stack-core2/Source/module.cpp
Normal file
22
Devices/m5stack-core2/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/m5stack-cores3/Source/module.cpp
Normal file
22
Devices/m5stack-cores3/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/m5stack-stickc-plus/Source/module.cpp
Normal file
22
Devices/m5stack-stickc-plus/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/m5stack-stickc-plus2/Source/module.cpp
Normal file
22
Devices/m5stack-stickc-plus2/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/m5stack-tab5/Source/module.cpp
Normal file
22
Devices/m5stack-tab5/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/simulator/Source/module.cpp
Normal file
22
Devices/simulator/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/unphone/Source/module.cpp
Normal file
22
Devices/unphone/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/waveshare-esp32-s3-geek/Source/module.cpp
Normal file
22
Devices/waveshare-esp32-s3-geek/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/waveshare-s3-lcd-13/Source/module.cpp
Normal file
22
Devices/waveshare-s3-lcd-13/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/waveshare-s3-touch-lcd-128/Source/module.cpp
Normal file
22
Devices/waveshare-s3-touch-lcd-128/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/waveshare-s3-touch-lcd-147/Source/module.cpp
Normal file
22
Devices/waveshare-s3-touch-lcd-147/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/waveshare-s3-touch-lcd-43/Source/module.cpp
Normal file
22
Devices/waveshare-s3-touch-lcd-43/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extern "C" {
|
|
||||||
|
|
||||||
extern void register_device_drivers() {
|
|
||||||
/* NO-OP */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
22
Devices/wireless-tag-wt32-sc01-plus/Source/module.cpp
Normal file
22
Devices/wireless-tag-wt32-sc01-plus/Source/module.cpp
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#include <tactility/module.h>
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
|
||||||
|
static error_t start() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
static error_t stop() {
|
||||||
|
// Empty for now
|
||||||
|
return ERROR_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @warn The variable name must be exactly "device_module" */
|
||||||
|
struct Module device_module = {
|
||||||
|
.name = "Module",
|
||||||
|
.start = start,
|
||||||
|
.stop = stop
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user