CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/AP_Bootloader/mcu_f7.h
Views: 1798
1
/*
2
MCU tables for STM32F7
3
*/
4
5
#if defined(STM32F7)
6
7
#define STM32_UNKNOWN 0
8
#define STM32F74x_75x 0x449
9
#define STM32F76x_77x 0x451
10
11
typedef enum mcu_rev_e {
12
MCU_REV_STM32F7_REV_A = 0x1000,
13
MCU_REV_STM32F7_REV_Z = 0x1001,
14
} mcu_rev_e;
15
16
// The default CPU ID of STM32_UNKNOWN is 0 and is in offset 0
17
// Before a rev is known it is set to ?
18
// There for new silicon will result in STM32F4..,?
19
mcu_des_t mcu_descriptions[] = {
20
{ STM32_UNKNOWN, "STM32F??????" },
21
{ STM32F74x_75x, "STM32F7[4|5]x" },
22
{ STM32F76x_77x, "STM32F7[6|7]x" },
23
};
24
25
const mcu_rev_t silicon_revs[] = {
26
{MCU_REV_STM32F7_REV_A, 'A'}, /* Revision A */
27
{MCU_REV_STM32F7_REV_Z, 'Z'}, /* Revision Z */
28
};
29
30
#endif // STM32F7
31
32