paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [5538] those move to conf/boards


From: antoine drouin
Subject: [paparazzi-commits] [5538] those move to conf/boards
Date: Sat, 21 Aug 2010 20:46:19 +0000

Revision: 5538
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5538
Author:   poine
Date:     2010-08-21 20:46:19 +0000 (Sat, 21 Aug 2010)
Log Message:
-----------
those move to conf/boards

Removed Paths:
-------------
    paparazzi3/trunk/conf/autopilot/boards/booz2_v1_0.h
    paparazzi3/trunk/conf/autopilot/boards/lisa_0.99.h

Deleted: paparazzi3/trunk/conf/autopilot/boards/booz2_v1_0.h
===================================================================
--- paparazzi3/trunk/conf/autopilot/boards/booz2_v1_0.h 2010-08-21 20:45:39 UTC 
(rev 5537)
+++ paparazzi3/trunk/conf/autopilot/boards/booz2_v1_0.h 2010-08-21 20:46:19 UTC 
(rev 5538)
@@ -1,103 +0,0 @@
-#ifndef CONFIG_BOOZ2_V1_0_H
-#define CONFIG_BOOZ2_V1_0_H
-
-/* Master oscillator freq.       */
-#define FOSC (12000000) 
-
-/* PLL multiplier                */
-#define PLL_MUL (5)         
-
-/* CPU clock freq.               */
-#define CCLK (FOSC * PLL_MUL) 
-
-/* Peripheral bus speed mask 0x00->4, 0x01-> 1, 0x02 -> 2   */
-#define PBSD_BITS 0x02    
-#define PBSD_VAL 2
-
-/* Peripheral bus clock freq. */
-#define PCLK (CCLK / PBSD_VAL) 
-
-/* Onboard LEDs */
-#define LED_1_BANK 1
-#define LED_1_PIN 25
-
-#define LED_2_BANK 1
-#define LED_2_PIN 24
-
-#define LED_3_BANK 1
-#define LED_3_PIN 23
-
-#define LED_4_BANK 1
-#define LED_4_PIN 31
-
-#define LED_5_BANK 1
-#define LED_5_PIN 18
-
-#define POWER_SWITCH_LED 5
-
-#define LED_6_BANK 1
-#define LED_6_PIN 22
-
-#define CAM_SWITCH_LED 6
-
-
-/* PPM : rc rx on P0.28 ( CAP0.2 ) */
-#define PPM_PINSEL PINSEL1
-#define PPM_PINSEL_VAL 0x02
-#define PPM_PINSEL_BIT 24
-#define PPM_CRI TIR_CR2I
-#define PPM_CCR_CRF TCCR_CR2_F
-#define PPM_CCR_CRR TCCR_CR2_R
-#define PPM_CCR_CRI TCCR_CR2_I
-#define PPM_CR T0CR2
-
-
-/* ADC */
-
-/* pressure : P0.10 AD1.2 */
-#define ANALOG_BARO_PINSEL PINSEL0
-#define ANALOG_BARO_PINSEL_VAL 0x03
-#define ANALOG_BARO_PINSEL_BIT 20
-#define ANALOG_BARO_ADC 1
-
-
-
-/* MS2001 on SSP, IMU connector */
-#define MS2001_SS_PIN   28
-#define MS2001_SS_IODIR IO1DIR
-#define MS2001_SS_IOSET IO1SET
-#define MS2001_SS_IOCLR IO1CLR
-
-#define MS2001_RESET_PIN   19
-#define MS2001_RESET_IODIR IO1DIR
-#define MS2001_RESET_IOSET IO1SET
-#define MS2001_RESET_IOCLR IO1CLR
-
-#define MS2001_DRDY_PIN  30
-#define MS2001_DRDY_PINSEL PINSEL1
-#define MS2001_DRDY_PINSEL_BIT 28
-#define MS2001_DRDY_PINSEL_VAL 2
-#define MS2001_DRDY_EINT 3
-#define MS2001_DRDY_VIC_IT VIC_EINT3
-
-/* PWM5 on CAM connector */
-/* P0.21 */
-#define PWM0_PINSEL PINSEL1
-#define PWM0_PINSEL_VAL 0x01
-#define PWM0_PINSEL_BIT 10
-
-/* PWM2 on SPI connector */
-/* P0.7 */
-#define PWM1_PINSEL PINSEL0
-#define PWM1_PINSEL_VAL 0x02
-#define PWM1_PINSEL_BIT 14
-
-
-/*
- * Modem
- */
-//#define MODEM_DEVICE Uart1
-//#define MODEM_UART_FLAG 
-
-
-#endif /* CONFIG_BOOZ2_V1_0_H */

Deleted: paparazzi3/trunk/conf/autopilot/boards/lisa_0.99.h
===================================================================
--- paparazzi3/trunk/conf/autopilot/boards/lisa_0.99.h  2010-08-21 20:45:39 UTC 
(rev 5537)
+++ paparazzi3/trunk/conf/autopilot/boards/lisa_0.99.h  2010-08-21 20:46:19 UTC 
(rev 5538)
@@ -1,19 +0,0 @@
-#ifndef CONFIG_LISA_V1_0_H
-#define CONFIG_LISA_V1_0_H
-
-
-#define AHB_CLK 72000000
-
-/* Lisa uses an external clock instead of a crystal */
-#define HSE_TYPE_EXT_CLK
-
-/* Onboard LEDs */
-#define LED_1_BANK 
-#define LED_STP08
-
-// FIXME, this is just to make it compile
-#define POWER_SWITCH_LED 5
-
-
-
-#endif /* CONFIG_LISA_V1_0_H */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]