mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-10-09 19:26:40 +00:00
Seeed Wio Tracker L2 (ESP32-S3R8 16MB/8MB PSRAM, SX1262, NV3031B 320x240 QSPI LCD + GT911 touch + LP5814 backlight, TCA9535 expander gating every rail, ADS1115 battery ADC, AW35615 USB-C, L76K GNSS). Board layer ported from meshcore-dev/MeshCore PR #3381 (Hacuchino-hash), kept at the same paths for an easy upstream merge. Differences: - display: dropped the UIColor theme (not adopted in this fork) - GpsTap diagnostics wrapper omitted; GNSS reads Serial1 directly - nv3031b ODR fix dropped: LovyanGFX >= 1.2.30 (now pinned) defines Panel_NV3031B::init_cmds itself -- the fix became a duplicate symbol - MESH_DEBUG_PRINTLN with a non-literal format fixed (broke MESH_DEBUG builds) - upload_speed 115200: baud is virtual on native USB; skips the switch solo/wio-tracker-l2 adds Wio_Tracker_L2_companion_solo_bringup: ui-new zoomed 2x, BOOT button only, no touch -- a hardware smoke test, not a release target (deliberately not *_solo_dual, so CI doesn't publish it). The real UI for this board will be a new LVGL frontend. Verified on hardware: boot, display, radio, GPS, battery, BLE app link. First boot takes tens of seconds while SPIFFS formats its 3.4 MB partition. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
792 B
C
29 lines
792 B
C
#pragma once
|
|
|
|
#define RADIOLIB_STATIC_ONLY 1
|
|
#include <RadioLib.h>
|
|
#include <helpers/radiolib/RadioLibWrappers.h>
|
|
#include <helpers/radiolib/CustomSX1262Wrapper.h>
|
|
#include "WioTrackerL2Board.h"
|
|
#include <helpers/AutoDiscoverRTCClock.h>
|
|
#include <helpers/SensorManager.h>
|
|
#include <helpers/sensors/EnvironmentSensorManager.h>
|
|
#include <helpers/sensors/MicroNMEALocationProvider.h>
|
|
#ifdef DISPLAY_CLASS
|
|
#include "WioTrackerL2Display.h"
|
|
#include <helpers/ui/MomentaryButton.h>
|
|
#endif
|
|
|
|
extern WioTrackerL2Board board;
|
|
extern WRAPPER_CLASS radio_driver;
|
|
extern AutoDiscoverRTCClock rtc_clock;
|
|
extern EnvironmentSensorManager sensors;
|
|
|
|
#ifdef DISPLAY_CLASS
|
|
extern DISPLAY_CLASS display;
|
|
extern MomentaryButton user_btn;
|
|
#endif
|
|
|
|
bool radio_init();
|
|
mesh::LocalIdentity radio_new_identity();
|