mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 23:49:00 +08:00
[stm32] include stm32/flash.h instead of f1/4 variants
This commit is contained in:
@@ -33,11 +33,7 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <libopencm3/stm32/gpio.h>
|
#include <libopencm3/stm32/gpio.h>
|
||||||
#include <libopencm3/stm32/rcc.h>
|
#include <libopencm3/stm32/rcc.h>
|
||||||
#if defined(STM32F1)
|
#include <libopencm3/stm32/flash.h>
|
||||||
#include <libopencm3/stm32/f1/flash.h>
|
|
||||||
#elif defined(STM32F4)
|
|
||||||
#include <libopencm3/stm32/f4/flash.h>
|
|
||||||
#endif
|
|
||||||
#include <libopencm3/cm3/scb.h>
|
#include <libopencm3/cm3/scb.h>
|
||||||
|
|
||||||
#include "std.h"
|
#include "std.h"
|
||||||
|
|||||||
@@ -35,12 +35,7 @@
|
|||||||
|
|
||||||
#include "subsystems/settings.h"
|
#include "subsystems/settings.h"
|
||||||
|
|
||||||
#if defined(STM32F1)
|
#include <libopencm3/stm32/flash.h>
|
||||||
#include <libopencm3/stm32/f1/flash.h>
|
|
||||||
#elif defined(STM32F4)
|
|
||||||
#include <libopencm3/stm32/f4/flash.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <libopencm3/stm32/crc.h>
|
#include <libopencm3/stm32/crc.h>
|
||||||
#include <libopencm3/stm32/dbgmcu.h>
|
#include <libopencm3/stm32/dbgmcu.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user