diff --git a/Devices/btt-panda-touch/Source/Drivers.cpp b/Devices/btt-panda-touch/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/btt-panda-touch/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/btt-panda-touch/Source/module.cpp b/Devices/btt-panda-touch/Source/module.cpp new file mode 100644 index 00000000..77bb4678 --- /dev/null +++ b/Devices/btt-panda-touch/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/cyd-2432s024c/Source/Drivers.cpp b/Devices/cyd-2432s024c/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/cyd-2432s024c/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/cyd-2432s024c/Source/module.cpp b/Devices/cyd-2432s024c/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/cyd-2432s024c/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/cyd-2432s028r/Source/Drivers.cpp b/Devices/cyd-2432s028r/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/cyd-2432s028r/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/cyd-2432s028r/Source/module.cpp b/Devices/cyd-2432s028r/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/cyd-2432s028r/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/cyd-2432s028rv3/Source/Drivers.cpp b/Devices/cyd-2432s028rv3/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/cyd-2432s028rv3/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/cyd-2432s028rv3/Source/module.cpp b/Devices/cyd-2432s028rv3/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/cyd-2432s028rv3/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/cyd-2432s032c/Source/Drivers.cpp b/Devices/cyd-2432s032c/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/cyd-2432s032c/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/cyd-2432s032c/Source/module.cpp b/Devices/cyd-2432s032c/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/cyd-2432s032c/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/cyd-4848s040c/Source/Drivers.cpp b/Devices/cyd-4848s040c/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/cyd-4848s040c/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/cyd-4848s040c/Source/module.cpp b/Devices/cyd-4848s040c/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/cyd-4848s040c/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/cyd-8048s043c/Source/Drivers.cpp b/Devices/cyd-8048s043c/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/cyd-8048s043c/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/cyd-8048s043c/Source/module.cpp b/Devices/cyd-8048s043c/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/cyd-8048s043c/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/cyd-e32r28t/Source/Drivers.cpp b/Devices/cyd-e32r28t/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/cyd-e32r28t/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/cyd-e32r28t/Source/module.cpp b/Devices/cyd-e32r28t/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/cyd-e32r28t/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/cyd-e32r32p/Source/Drivers.cpp b/Devices/cyd-e32r32p/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/cyd-e32r32p/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/cyd-e32r32p/Source/module.cpp b/Devices/cyd-e32r32p/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/cyd-e32r32p/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/elecrow-crowpanel-advance-28/Source/Drivers.cpp b/Devices/elecrow-crowpanel-advance-28/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/elecrow-crowpanel-advance-28/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/elecrow-crowpanel-advance-28/Source/module.cpp b/Devices/elecrow-crowpanel-advance-28/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/elecrow-crowpanel-advance-28/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/elecrow-crowpanel-advance-35/Source/Drivers.cpp b/Devices/elecrow-crowpanel-advance-35/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/elecrow-crowpanel-advance-35/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/elecrow-crowpanel-advance-35/Source/module.cpp b/Devices/elecrow-crowpanel-advance-35/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/elecrow-crowpanel-advance-35/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/elecrow-crowpanel-advance-50/Source/Drivers.cpp b/Devices/elecrow-crowpanel-advance-50/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/elecrow-crowpanel-advance-50/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/elecrow-crowpanel-advance-50/Source/module.cpp b/Devices/elecrow-crowpanel-advance-50/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/elecrow-crowpanel-advance-50/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/elecrow-crowpanel-basic-28/Source/Drivers.cpp b/Devices/elecrow-crowpanel-basic-28/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/elecrow-crowpanel-basic-28/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/elecrow-crowpanel-basic-28/Source/module.cpp b/Devices/elecrow-crowpanel-basic-28/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/elecrow-crowpanel-basic-28/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/elecrow-crowpanel-basic-35/Source/Drivers.cpp b/Devices/elecrow-crowpanel-basic-35/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/elecrow-crowpanel-basic-35/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/elecrow-crowpanel-basic-35/Source/module.cpp b/Devices/elecrow-crowpanel-basic-35/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/elecrow-crowpanel-basic-35/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/elecrow-crowpanel-basic-50/Source/Drivers.cpp b/Devices/elecrow-crowpanel-basic-50/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/elecrow-crowpanel-basic-50/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/elecrow-crowpanel-basic-50/Source/module.cpp b/Devices/elecrow-crowpanel-basic-50/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/elecrow-crowpanel-basic-50/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/generic-esp32/Source/Drivers.cpp b/Devices/generic-esp32/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/generic-esp32/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/generic-esp32/Source/module.cpp b/Devices/generic-esp32/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/generic-esp32/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/generic-esp32c6/Source/Drivers.cpp b/Devices/generic-esp32c6/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/generic-esp32c6/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/generic-esp32c6/Source/module.cpp b/Devices/generic-esp32c6/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/generic-esp32c6/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/generic-esp32p4/Source/Drivers.cpp b/Devices/generic-esp32p4/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/generic-esp32p4/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/generic-esp32p4/Source/module.cpp b/Devices/generic-esp32p4/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/generic-esp32p4/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/generic-esp32s3/Source/Drivers.cpp b/Devices/generic-esp32s3/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/generic-esp32s3/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/generic-esp32s3/Source/module.cpp b/Devices/generic-esp32s3/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/generic-esp32s3/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/guition-jc1060p470ciwy/Source/Drivers.cpp b/Devices/guition-jc1060p470ciwy/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/guition-jc1060p470ciwy/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/guition-jc1060p470ciwy/Source/module.cpp b/Devices/guition-jc1060p470ciwy/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/guition-jc1060p470ciwy/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/guition-jc2432w328c/Source/Drivers.cpp b/Devices/guition-jc2432w328c/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/guition-jc2432w328c/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/guition-jc2432w328c/Source/module.cpp b/Devices/guition-jc2432w328c/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/guition-jc2432w328c/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/guition-jc8048w550c/Source/Drivers.cpp b/Devices/guition-jc8048w550c/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/guition-jc8048w550c/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/guition-jc8048w550c/Source/module.cpp b/Devices/guition-jc8048w550c/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/guition-jc8048w550c/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/heltec-wifi-lora-32-v3/Source/Drivers.cpp b/Devices/heltec-wifi-lora-32-v3/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/heltec-wifi-lora-32-v3/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/heltec-wifi-lora-32-v3/Source/module.cpp b/Devices/heltec-wifi-lora-32-v3/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/heltec-wifi-lora-32-v3/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/lilygo-tdeck/Source/module.cpp b/Devices/lilygo-tdeck/Source/module.cpp index 78373614..d1251200 100644 --- a/Devices/lilygo-tdeck/Source/module.cpp +++ b/Devices/lilygo-tdeck/Source/module.cpp @@ -12,7 +12,7 @@ static error_t stop() { 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 = { .name = "LilyGO T-Deck", .start = start, diff --git a/Devices/lilygo-tdisplay-s3/Source/Drivers.cpp b/Devices/lilygo-tdisplay-s3/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/lilygo-tdisplay-s3/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/lilygo-tdisplay-s3/Source/module.cpp b/Devices/lilygo-tdisplay-s3/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/lilygo-tdisplay-s3/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/lilygo-tdisplay/Source/Drivers.cpp b/Devices/lilygo-tdisplay/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/lilygo-tdisplay/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/lilygo-tdisplay/Source/module.cpp b/Devices/lilygo-tdisplay/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/lilygo-tdisplay/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/lilygo-tdongle-s3/Source/Drivers.cpp b/Devices/lilygo-tdongle-s3/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/lilygo-tdongle-s3/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/lilygo-tdongle-s3/Source/module.cpp b/Devices/lilygo-tdongle-s3/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/lilygo-tdongle-s3/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/lilygo-tlora-pager/Source/module.cpp b/Devices/lilygo-tlora-pager/Source/module.cpp index cae58099..c01cd216 100644 --- a/Devices/lilygo-tlora-pager/Source/module.cpp +++ b/Devices/lilygo-tlora-pager/Source/module.cpp @@ -20,7 +20,7 @@ static error_t stop() { 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 = { .name = "LilyGO T-Lora Pager", .start = start, diff --git a/Devices/m5stack-cardputer-adv/Source/Drivers.cpp b/Devices/m5stack-cardputer-adv/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/m5stack-cardputer-adv/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/m5stack-cardputer-adv/Source/module.cpp b/Devices/m5stack-cardputer-adv/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/m5stack-cardputer-adv/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/m5stack-cardputer/Source/Drivers.cpp b/Devices/m5stack-cardputer/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/m5stack-cardputer/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/m5stack-cardputer/Source/module.cpp b/Devices/m5stack-cardputer/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/m5stack-cardputer/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/m5stack-core2/Source/Drivers.cpp b/Devices/m5stack-core2/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/m5stack-core2/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/m5stack-core2/Source/module.cpp b/Devices/m5stack-core2/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/m5stack-core2/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/m5stack-cores3/Source/Drivers.cpp b/Devices/m5stack-cores3/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/m5stack-cores3/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/m5stack-cores3/Source/module.cpp b/Devices/m5stack-cores3/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/m5stack-cores3/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/m5stack-stickc-plus/Source/Drivers.cpp b/Devices/m5stack-stickc-plus/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/m5stack-stickc-plus/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/m5stack-stickc-plus/Source/module.cpp b/Devices/m5stack-stickc-plus/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/m5stack-stickc-plus/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/m5stack-stickc-plus2/Source/Drivers.cpp b/Devices/m5stack-stickc-plus2/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/m5stack-stickc-plus2/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/m5stack-stickc-plus2/Source/module.cpp b/Devices/m5stack-stickc-plus2/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/m5stack-stickc-plus2/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/m5stack-tab5/Source/Drivers.cpp b/Devices/m5stack-tab5/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/m5stack-tab5/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/m5stack-tab5/Source/module.cpp b/Devices/m5stack-tab5/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/m5stack-tab5/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/simulator/Source/Drivers.cpp b/Devices/simulator/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/simulator/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/simulator/Source/module.cpp b/Devices/simulator/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/simulator/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/unphone/Source/Drivers.cpp b/Devices/unphone/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/unphone/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/unphone/Source/module.cpp b/Devices/unphone/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/unphone/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/waveshare-esp32-s3-geek/Source/Drivers.cpp b/Devices/waveshare-esp32-s3-geek/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/waveshare-esp32-s3-geek/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/waveshare-esp32-s3-geek/Source/module.cpp b/Devices/waveshare-esp32-s3-geek/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/waveshare-esp32-s3-geek/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/waveshare-s3-lcd-13/Source/Drivers.cpp b/Devices/waveshare-s3-lcd-13/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/waveshare-s3-lcd-13/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/waveshare-s3-lcd-13/Source/module.cpp b/Devices/waveshare-s3-lcd-13/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/waveshare-s3-lcd-13/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/waveshare-s3-touch-lcd-128/Source/Drivers.cpp b/Devices/waveshare-s3-touch-lcd-128/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/waveshare-s3-touch-lcd-128/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/waveshare-s3-touch-lcd-128/Source/module.cpp b/Devices/waveshare-s3-touch-lcd-128/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/waveshare-s3-touch-lcd-128/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/waveshare-s3-touch-lcd-147/Source/Drivers.cpp b/Devices/waveshare-s3-touch-lcd-147/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/waveshare-s3-touch-lcd-147/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/waveshare-s3-touch-lcd-147/Source/module.cpp b/Devices/waveshare-s3-touch-lcd-147/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/waveshare-s3-touch-lcd-147/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/waveshare-s3-touch-lcd-43/Source/Drivers.cpp b/Devices/waveshare-s3-touch-lcd-43/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/waveshare-s3-touch-lcd-43/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/waveshare-s3-touch-lcd-43/Source/module.cpp b/Devices/waveshare-s3-touch-lcd-43/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/waveshare-s3-touch-lcd-43/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +} diff --git a/Devices/wireless-tag-wt32-sc01-plus/Source/Drivers.cpp b/Devices/wireless-tag-wt32-sc01-plus/Source/Drivers.cpp deleted file mode 100644 index c8a5c665..00000000 --- a/Devices/wireless-tag-wt32-sc01-plus/Source/Drivers.cpp +++ /dev/null @@ -1,7 +0,0 @@ -extern "C" { - -extern void register_device_drivers() { - /* NO-OP */ -} - -} diff --git a/Devices/wireless-tag-wt32-sc01-plus/Source/module.cpp b/Devices/wireless-tag-wt32-sc01-plus/Source/module.cpp new file mode 100644 index 00000000..1765b272 --- /dev/null +++ b/Devices/wireless-tag-wt32-sc01-plus/Source/module.cpp @@ -0,0 +1,22 @@ +#include + +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 +}; + +}