add get bootloader.ver command for nrf52

This commit is contained in:
taco 2026-02-18 15:35:20 +11:00
parent bbc5f0c11a
commit 1500a5a9cb
4 changed files with 32 additions and 0 deletions

View file

@ -55,6 +55,7 @@ public:
virtual uint32_t getGpio() { return 0; }
virtual void setGpio(uint32_t values) {}
virtual uint8_t getStartupReason() const = 0;
virtual bool getBootloaderVersion(char* version, size_t max_len) { return false; }
virtual bool startOTAUpdate(const char* id, char reply[]) { return false; } // not supported
// Power management interface (boards with power management override these)