summaryrefslogtreecommitdiffstats
path: root/platforms/chibios/boards/STM32_F103_STM32DUINO/configs/config.h
blob: d8b852cab7e58e4ba8b7a51304873d1111ac88e0 (plain)
1
2
3
4
5
6
7
8
9
// Copyright 2022 Nick Brassel (@tzarc)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

// Value to place in RTC backup register 10 for persistent bootloader mode
#define RTC_BOOTLOADER_FLAG 0x424C

// Value to place in RTC backup register 10 for instant reboot mode
#define RTC_BOOTLOADER_JUST_UPLOADED 0x424D