mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 21:35:44 +03:00
STM32F4: Adjusted for compatibility with @martinbudden common.h PR
This commit is contained in:
parent
aa4c078593
commit
47ce9bb799
9 changed files with 16 additions and 14 deletions
|
@ -17,14 +17,12 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "platform/common.h"
|
||||
|
||||
#if defined(STM32F40_41xxx) || defined (STM32F411xE)
|
||||
#include "stm32f4xx_conf.h"
|
||||
#include "stm32f4xx_rcc.h"
|
||||
#include "stm32f4xx_gpio.h"
|
||||
#include "core_cm4.h"
|
||||
#include "common_stm32f4xx.h"
|
||||
#include "target/common_stm32f4xx.h"
|
||||
|
||||
// Chip Unique ID on F405
|
||||
#define U_ID_0 (*(uint32_t*)0x1fff7a10)
|
||||
|
@ -62,5 +60,6 @@
|
|||
#define STM32F1
|
||||
#endif // STM32F10X
|
||||
|
||||
#include "target/common.h"
|
||||
#include "target.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue