mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-29 22:20:37 +00:00
* Add RF switch settings for STM32WL variants * Shuffle ifdefs in STM32WLE5JCInterface to make it not get built by other targets
19 lines
434 B
C++
19 lines
434 B
C++
#pragma once
|
|
|
|
#ifdef ARCH_STM32WL
|
|
#include "SX126xInterface.h"
|
|
#include "rfswitch.h"
|
|
|
|
/**
|
|
* Our adapter for STM32WLE5JC radios
|
|
*/
|
|
class STM32WLE5JCInterface : public SX126xInterface<STM32WLx>
|
|
{
|
|
public:
|
|
STM32WLE5JCInterface(LockingArduinoHal *hal, RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst,
|
|
RADIOLIB_PIN_TYPE busy);
|
|
|
|
virtual bool init() override;
|
|
};
|
|
|
|
#endif // ARCH_STM32WL
|