mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-17 23:55:04 +00:00
Adds sub-GHz radio support to Tactility as a first-class kernel device type, plus a driver for the Semtech SX1262. Continues the radio work discussed in #342, brought up to the current kernel driver model (rather than the deprecated tt::hal layer the earlier prototype targeted).
20 lines
319 B
C++
20 lines
319 B
C++
// SPDX-License-Identifier: Apache-2.0
|
|
#include <tactility/driver.h>
|
|
#include <tactility/module.h>
|
|
|
|
extern "C" {
|
|
|
|
extern Driver sx1262_driver;
|
|
|
|
static Driver* const sx126x_drivers[] = {
|
|
&sx1262_driver,
|
|
nullptr
|
|
};
|
|
|
|
Module sx126x_module = {
|
|
.name = "sx126x",
|
|
.drivers = sx126x_drivers
|
|
};
|
|
|
|
} // extern "C"
|