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
e9f4b4abd2166db0ca6cebd65287cd50841be46d
MeshCore-Evo/variants/mesh_pocket/MeshPocket.cpp

13 lines
213 B
C++
Raw Normal View History

add heltec meshpocket board.
2025-09-02 13:56:24 +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 "MeshPocket.h"
add heltec meshpocket board.
2025-09-02 13:56:24 +08:00
void HeltecMeshPocket::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 meshpocket board.
2025-09-02 13:56:24 +08:00
Serial.begin(115200);
pinMode(PIN_VBAT_READ, INPUT);
pinMode(PIN_USER_BTN, INPUT);
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 709ms Template: 17ms
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