1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00

STM32F4: Main, Sensors, io

This commit is contained in:
blckmn 2016-06-08 05:36:46 +10:00
parent de2c382ba9
commit 96757c18a2
6 changed files with 79 additions and 21 deletions

View file

@ -17,6 +17,20 @@
#pragma once
#if defined(STM32F40_41xxx) || defined (STM32F411xE)
#include "stm32f4xx_conf.h"
#include "stm32f4xx_rcc.h"
#include "stm32f4xx_gpio.h"
#include "core_cm4.h"
// Chip Unique ID on F405
#define U_ID_0 (*(uint32_t*)0x1fff7a10)
#define U_ID_1 (*(uint32_t*)0x1fff7a14)
#define U_ID_2 (*(uint32_t*)0x1fff7a18)
#define STM32F4
#endif
#ifdef STM32F303xC
#include "stm32f30x_conf.h"
#include "stm32f30x_rcc.h"