Logo
Explore Help
Sign In
DG4MLK/MeshCore-Evo
1
0
Fork 0
You've already forked MeshCore-Evo
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
34db93150a4be32dd5780b1f59da8a2104a0bbb7
MeshCore-Evo/variants/heltec_mesh_solar/MeshSolarBoard.cpp

17 lines
270 B
C++
Raw Normal View History

Add HELTEC MeshSolar board.
2025-08-04 14:29:49 +08:00
#include <Arduino.h>
#include <Wire.h>
Deduplicate NRF52 startOTAUpdate() The startOTAUpdate() is the same for all NRF52 boards. Use a common implementation for all boards that currently have a specific implementation. The following boards currently have an empty startOTAUpdate() for whatever reasons and therefore are not inheriting NRF52BoardOTA to keep the same state: Nano G2 Ultra, Seeed SenseCAP T1000-E, Wio WM1110. Signed-off-by: Frieder Schrempf <frieder@fris.de>
2025-12-09 19:56:00 +01:00
#include "MeshSolarBoard.h"
Add HELTEC MeshSolar board.
2025-08-04 14:29:49 +08:00
void MeshSolarBoard::begin() {
Use common NRF52 begin() and deduplicate() startup reason init Use a common begin() method that can be called from derived classes to contain the shared initialization code. Signed-off-by: Frieder Schrempf <frieder@fris.de>
2025-12-09 15:00:08 +01:00
NRF52Board::begin();
Add HELTEC MeshSolar board.
2025-08-04 14:29:49 +08:00
meshSolarStart();
#if defined(PIN_BOARD_SDA) && defined(PIN_BOARD_SCL)
Wire.setPins(PIN_BOARD_SDA, PIN_BOARD_SCL);
#endif
Wire.begin();
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 34ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API