Merge pull request #3002 from entr0p1/feat/nrf52-pwrmgt-v2_3-prep1

nRF52840 Power Management Stage 1 (Boot Lock) - v2.3 preparation work
This commit is contained in:
Huw Duddy authored and GitHub committed 2026-09-14 21:26:16 +10:00
commit fb8ec74a1c
3 files changed
+37 -23

No files matched your search

+2
View File
@@ -66,8 +66,10 @@ public:
virtual bool startOTAUpdate(const char* id, char reply[]) { return false; } // not supported
// Power management interface (boards with power management override these)
virtual bool isPwrMgtInitialised() const { return false; }
virtual bool isExternalPowered() { return false; }
virtual uint16_t getBootVoltage() { return 0; }
virtual bool getWakeLpcompSupported() const { return false; }
virtual uint32_t getResetReason() const { return 0; }
virtual const char* getResetReasonString(uint32_t reason) { return "Not available"; }
virtual uint8_t getShutdownReason() const { return 0; }