From 147cf900fe09d74c642e7df1a2689bcd774022ae Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 31 Oct 2019 22:00:27 +1100 Subject: [PATCH] AP_Bootloader: support STM32F303 MCU --- Tools/AP_Bootloader/mcu_f3.h | 15 +++++++++++++++ Tools/AP_Bootloader/support.cpp | 1 + 2 files changed, 16 insertions(+) create mode 100644 Tools/AP_Bootloader/mcu_f3.h diff --git a/Tools/AP_Bootloader/mcu_f3.h b/Tools/AP_Bootloader/mcu_f3.h new file mode 100644 index 0000000000..5abfb60593 --- /dev/null +++ b/Tools/AP_Bootloader/mcu_f3.h @@ -0,0 +1,15 @@ +/* + support tables for STM32F3 + */ + +#if defined(STM32F3) +#define STM32_UNKNOWN 0 + +const mcu_des_t mcu_descriptions[] = { + { STM32_UNKNOWN, "STM32F3xx", '?'}, +}; + +const mcu_rev_t silicon_revs[] = { +}; + +#endif // STM32F3 diff --git a/Tools/AP_Bootloader/support.cpp b/Tools/AP_Bootloader/support.cpp index 8cc05a5c22..eef6cb941e 100644 --- a/Tools/AP_Bootloader/support.cpp +++ b/Tools/AP_Bootloader/support.cpp @@ -11,6 +11,7 @@ #include #include "support.h" #include "mcu_f1.h" +#include "mcu_f3.h" #include "mcu_f4.h" #include "mcu_f7.h" #include "mcu_h7.h"