Restructure include hierarchy
This commit is contained in:
@@ -4,18 +4,20 @@
|
||||
* Created on: Apr 25, 2015
|
||||
* Author: mari
|
||||
*/
|
||||
#include <stm32f4xx.h>
|
||||
#include <systick.h>
|
||||
//#include <arm_math.h>
|
||||
#include <stm32-gpio-macros.h>
|
||||
#include <system_stm32f4xx.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <adc-meas.h>
|
||||
#include <clock-enable-manager.h>
|
||||
#include <uart/uart.h>
|
||||
#include <shell.h>
|
||||
#include <digio.h>
|
||||
/* #include <arm_math.h> */
|
||||
#include <stm32/stm32f4xx.h>
|
||||
#include <cmsis/core_cm4.h>
|
||||
#include <setup/system_stm32f4xx.h>
|
||||
#include <reflow-controller/systick.h>
|
||||
#include <reflow-controller/adc-meas.h>
|
||||
#include <reflow-controller/shell.h>
|
||||
#include <reflow-controller/digio.h>
|
||||
#include <stm-periph/stm32-gpio-macros.h>
|
||||
#include <stm-periph/clock-enable-manager.h>
|
||||
#include <stm-periph/uart/uart.h>
|
||||
|
||||
static void setup_nvic_priorities()
|
||||
{
|
||||
@@ -25,6 +27,7 @@ static void setup_nvic_priorities()
|
||||
/* Setup Priorities */
|
||||
NVIC_SetPriority(ADC_IRQn, 2);
|
||||
NVIC_SetPriority(DMA2_Stream0_IRQn, 1);
|
||||
NVIC_SetPriority(DMA2_Stream7_IRQn, 3);
|
||||
}
|
||||
|
||||
static float pt1000_value;
|
||||
|
Reference in New Issue
Block a user