mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-08-21 14:36:21 +02:00
Simplifying STM32F4XX library definitions, some minor changes on Makefile
This commit is contained in:
@@ -21,15 +21,6 @@
|
||||
|
||||
#if defined(STM32F4XX) || defined(STM32F4)
|
||||
#include "stm32f4xx.h"
|
||||
#include "stm32f4xx_gpio.h"
|
||||
#include "stm32f4xx_rcc.h"
|
||||
#include "stm32f4xx_dac.h"
|
||||
#include "stm32f4xx_adc.h"
|
||||
#include "stm32f4xx_tim.h"
|
||||
#include "stm32f4xx_usart.h"
|
||||
#include "misc.h"
|
||||
#include <string.h>
|
||||
#include <stddef.h>
|
||||
#else
|
||||
#include <Arduino.h>
|
||||
#endif
|
||||
@@ -42,11 +33,7 @@
|
||||
#error "Unknown processor type"
|
||||
#endif
|
||||
|
||||
#if defined(STM32F4XX) || defined(STM32F4)
|
||||
#include "cmsis.h"
|
||||
#else
|
||||
#include <arm_math.h>
|
||||
#endif
|
||||
|
||||
enum MMDVM_STATE {
|
||||
STATE_IDLE = 0,
|
||||
|
||||
Reference in New Issue
Block a user