Simplifying STM32F4XX library definitions, some minor changes on Makefile

This commit is contained in:
Andy CA6JAU
2016-11-16 01:06:26 -03:00
parent 7ac999dac7
commit 381afbb70a
2 changed files with 2 additions and 14 deletions
-13
View File
@@ -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,