Files
MeshCore/variants/sensecap_indicator-espnow/target.h
T
mikecarper 5938cbe614 feat: complete Cascade Indicator companion support
Add native-resolution Indicator UI, touch navigation, SD-backed pixel and emoji fonts, LoRa radio support, dual-slot WiFi Companion provisioning, and mesh clock fallback. Harden radio recovery and build defaults, normalize ESP32 setup-AP protocols, and document/test the operator workflows.
2026-08-25 18:37:17 -07:00

42 lines
1.0 KiB
C

#pragma once
#include <helpers/ESP32Board.h>
#include <helpers/SensorManager.h>
#include <helpers/sensors/EnvironmentSensorManager.h>
#ifdef SENSECAP_INDICATOR_LORA
#define RADIOLIB_STATIC_ONLY 1
#include <RadioLib.h>
#include <helpers/radiolib/CustomSX1262Wrapper.h>
#include "IndicatorRadioHal.h"
#include "IndicatorSX1262Wrapper.h"
#else
#include <helpers/esp32/ESPNOWRadio.h>
#endif
#ifdef ENV_INCLUDE_GPS
#include <helpers/sensors/MicroNMEALocationProvider.h>
#endif
#ifdef DISPLAY_CLASS
#include "SCIndicatorDisplay.h"
#include <helpers/ui/MomentaryButton.h>
#endif
extern ESP32Board board;
#ifdef SENSECAP_INDICATOR_LORA
extern WRAPPER_CLASS radio_driver;
#else
extern ESPNOWRadio radio_driver;
#endif
extern ESP32RTCClock rtc_clock;
extern EnvironmentSensorManager sensors;
#ifdef DISPLAY_CLASS
extern DISPLAY_CLASS display;
extern MomentaryButton user_btn;
#endif
bool radio_init();
#ifdef RECOVERABLE_EXTERNAL_RADIO
uint32_t radio_fallback_rng_seed();
#endif
mesh::LocalIdentity radio_new_identity();