mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[airborne] remove unused interrupt_hw.h headers
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2005 Pascal Brisset, Antoine Drouin
|
||||
*
|
||||
* This file is part of paparazzi.
|
||||
*
|
||||
* paparazzi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* paparazzi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with paparazzi; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file arch/lpc21/interrupt_hw.h
|
||||
* @ingroup lpc21_arch
|
||||
*
|
||||
* ARM Low level interrupt handling.
|
||||
*/
|
||||
|
||||
#ifndef INTERRUPT_HW_H
|
||||
#define INTERRUPT_HW_H
|
||||
|
||||
#include "armVIC.h"
|
||||
|
||||
#define int_enable() enableIRQ()
|
||||
#define int_disable() disableIRQ()
|
||||
|
||||
#endif /* INTERRUPT_HW_H */
|
||||
@@ -30,8 +30,8 @@
|
||||
#include "mcu_periph/i2c.h"
|
||||
|
||||
#include "std.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include BOARD_CONFIG
|
||||
#include "armVIC.h"
|
||||
|
||||
///////////////////
|
||||
// I2C Automaton //
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include "mcu_periph/pwm_input_arch.h"
|
||||
|
||||
#include "LPC21xx.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "armVIC.h"
|
||||
|
||||
//UPDATE THESE TO BE MORE ACCESSIBLE AND BE WARY OF EXISTING USAGE
|
||||
//POSSIBLY MAKE MORE INPUTS ACCESSIBLE
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
|
||||
#include "std.h"
|
||||
#include "LPC21xx.h"
|
||||
#include "interrupt_hw.h"
|
||||
|
||||
enum pwm_input_channels {
|
||||
PWM_INPUT1,
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
|
||||
#include "std.h"
|
||||
#include "LPC21xx.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "armVIC.h"
|
||||
#include BOARD_CONFIG
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include "mcu_periph/spi.h"
|
||||
|
||||
#include BOARD_CONFIG
|
||||
#include "interrupt_hw.h"
|
||||
#include "std.h"
|
||||
#include "mcu.h"
|
||||
#include "led.h"
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
|
||||
#include "LPC21xx.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "ssp_hw.h"
|
||||
#include "generated/airframe.h"
|
||||
#include BOARD_CONFIG
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "LPC21xx.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "armVIC.h"
|
||||
#include "lcd_dogm_hw.h"
|
||||
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "peripherals/max1168.h"
|
||||
|
||||
#include "LPC21xx.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "armVIC.h"
|
||||
#include BOARD_CONFIG
|
||||
|
||||
static void EXTINT0_ISR(void) __attribute__((naked));
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "peripherals/ms2100.h"
|
||||
|
||||
#include "LPC21xx.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "armVIC.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include BOARD_CONFIG
|
||||
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2005 Pascal Brisset, Antoine Drouin
|
||||
*
|
||||
* This file is part of paparazzi.
|
||||
*
|
||||
* paparazzi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* paparazzi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with paparazzi; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file arch/stm32/interrupt_hw.h
|
||||
* @ingroup stm32_arch
|
||||
*
|
||||
* STM32 Low level interrupt handling.
|
||||
* Empty for now, just to match what we have on LPC
|
||||
*/
|
||||
|
||||
#ifndef INTERRUPT_HW_H
|
||||
#define INTERRUPT_HW_H
|
||||
|
||||
#define int_enable() {}
|
||||
#define int_disable() {}
|
||||
|
||||
#endif /* INTERRUPT_HW_H */
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#include "std.h"
|
||||
#include "mcu.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include "interrupt_hw.h"
|
||||
|
||||
#include "subsystems/datalink/downlink.h"
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <stm32/dma.h>
|
||||
#include <stm32/adc.h>
|
||||
#include <stm32/i2c.h>
|
||||
#include "interrupt_hw.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#include "mcu.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include "led.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "mcu_periph/usb_serial.h"
|
||||
#include "mcu_periph/uart.h"
|
||||
#include "mcu_arch.h"
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
#include "LPC21xx.h"
|
||||
|
||||
#include "interrupt_hw.h"
|
||||
#include "mcu.h"
|
||||
|
||||
volatile uint32_t mb_tacho_duration;
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#include "mcu.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include "led.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "mcu_periph/usb_serial.h"
|
||||
|
||||
#include "messages.h"
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#include "mcu.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include "led.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "mcu_periph/uart.h"
|
||||
|
||||
#include "messages.h"
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#include "mcu.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include "led.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "mcu_periph/uart.h"
|
||||
|
||||
#include "messages.h"
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include "std.h"
|
||||
#include "mcu.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "armVIC.h"
|
||||
#include "LPC21xx.h"
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "LPC21xx.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "armVIC.h"
|
||||
#include "max3100_hw.h"
|
||||
|
||||
#include "subsystems/datalink/downlink.h"
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include "mcu.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include "mcu_periph/gpio.h"
|
||||
#include "interrupt_hw.h"
|
||||
|
||||
#ifndef TEST_GPIO1
|
||||
#define TEST_GPIO1 GPIOB,GPIO17
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include "mcu.h"
|
||||
#include "led.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include "interrupt_hw.h"
|
||||
|
||||
static inline void main_periodic_02(void);
|
||||
static inline void main_periodic_03(void);
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include "mcu.h"
|
||||
#include "led.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include "interrupt_hw.h"
|
||||
|
||||
static inline void main_periodic_1(void);
|
||||
static inline void main_periodic_15(void);
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
|
||||
#include "subsystems/imu.h"
|
||||
|
||||
#include "interrupt_hw.h"
|
||||
|
||||
static inline void main_init(void);
|
||||
static inline void main_periodic_task(void);
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include "mcu.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "mcu_periph/uart.h"
|
||||
|
||||
#include "subsystems/datalink/downlink.h"
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include BOARD_CONFIG
|
||||
#include "mcu.h"
|
||||
#include "mcu_periph/uart.h"
|
||||
#include "interrupt_hw.h"
|
||||
#include "mcu_periph/sys_time.h"
|
||||
#include "subsystems/datalink/downlink.h"
|
||||
#include "led.h"
|
||||
|
||||
Reference in New Issue
Block a user