Some checks failed
Build and deploy Docs site to GitHub Pages / github-pages (push) Has been cancelled
Run Unit Tests / test (push) Has been cancelled
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Has been cancelled
PR Build Check / build (Heltec_v3_repeater) (push) Has been cancelled
PR Build Check / build (Heltec_v3_room_server) (push) Has been cancelled
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Has been cancelled
PR Build Check / build (PicoW_repeater) (push) Has been cancelled
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Has been cancelled
PR Build Check / build (RAK_4631_repeater) (push) Has been cancelled
PR Build Check / build (RAK_4631_room_server) (push) Has been cancelled
PR Build Check / build (Tbeam_SX1276_repeater) (push) Has been cancelled
PR Build Check / build (wio-e5-mini_repeater) (push) Has been cancelled
PR Build Check / build (wio_wm1110_repeater) (push) Has been cancelled
31 lines
780 B
C++
31 lines
780 B
C++
#pragma once
|
|
|
|
#define RADIOLIB_STATIC_ONLY 1
|
|
#include <RadioLib.h>
|
|
#include <helpers/radiolib/RadioLibWrappers.h>
|
|
#include <helpers/stm32/STM32Board.h>
|
|
#include <helpers/radiolib/CustomSTM32WLxWrapper.h>
|
|
#include <helpers/ArduinoHelpers.h>
|
|
#include <helpers/SensorManager.h>
|
|
|
|
class WIOE5Board : public STM32Board {
|
|
public:
|
|
const char* getManufacturerName() const override {
|
|
return "Seeed Wio E5 Dev Board";
|
|
}
|
|
|
|
// Just returns ADC value for now to test adc
|
|
uint16_t getBattMilliVolts() override {
|
|
uint32_t raw = analogRead(PIN_A3);
|
|
return raw;
|
|
}
|
|
};
|
|
|
|
extern WIOE5Board board;
|
|
extern WRAPPER_CLASS radio_driver;
|
|
extern VolatileRTCClock rtc_clock;
|
|
extern SensorManager sensors;
|
|
|
|
bool radio_init();
|
|
mesh::LocalIdentity radio_new_identity();
|