Add Simpson board support

This commit is contained in:
sim1988son
2026-10-15 20:39:48 +02:00
parent 1f47fc56cd
commit 539271f293
13 changed files with 466 additions and 12 deletions
+3 -1
View File
@@ -5,7 +5,9 @@
#include <helpers/NRF52Board.h>
#define PIN_VBAT_READ 17
#define ADC_MULTIPLIER (1.815f) // dependent on voltage divider resistors. TODO: more accurate battery tracking
#ifndef ADC_MULTIPLIER
#define ADC_MULTIPLIER (1.815f) // dependent on voltage divider resistors. TODO: more accurate battery tracking
#endif
class PromicroBoard : public NRF52BoardDCDC {
protected:
+5 -2
View File
@@ -7,7 +7,11 @@
#include <helpers/radiolib/CustomSX1262Wrapper.h>
#include <helpers/AutoDiscoverRTCClock.h>
#ifdef DISPLAY_CLASS
#include <helpers/ui/SSD1306Display.h>
#if defined(SIMPSON)
#include <helpers/ui/SH1106Display.h>
#else
#include <helpers/ui/SSD1306Display.h>
#endif
#include <helpers/ui/MomentaryButton.h>
#endif
@@ -25,4 +29,3 @@ extern EnvironmentSensorManager sensors;
bool radio_init();
mesh::LocalIdentity radio_new_identity();