Device: RAD-MoonT1S: Add bootloader pipeline and chip

This commit is contained in:
Max Brombach
2026-02-13 13:17:59 -05:00
committed by Kyle Schwarz
parent 25b673075f
commit 19092bceb6
2 changed files with 17 additions and 0 deletions
@@ -37,6 +37,22 @@ public:
ProductID getProductID() const override {
return ProductID::RADMoonT1S;
}
const std::vector<ChipInfo>& getChipInfo() const override {
static std::vector<ChipInfo> chips = {
{ChipID::RADMOONT1S_ZCHIP, true, "ZCHIP", "RADMoonT1S_SW_bin", 1, FirmwareType::Zip}
};
return chips;
}
BootloaderPipeline getBootloader() override {
return BootloaderPipeline()
.add<EnterBootloaderPhase>()
.add<FlashPhase>(ChipID::RADMOONT1S_ZCHIP, BootloaderCommunication::RAD)
.add<EnterApplicationPhase>(ChipID::RADMOONT1S_ZCHIP)
.add<WaitPhase>(std::chrono::milliseconds(3000))
.add<ReconnectPhase>();
}
protected:
RADMoonT1S(neodevice_t neodevice, const driver_factory_t& makeDriver) : Device(neodevice) {
initialize<RADMoonT1SSettings>(makeDriver);