paparazzi-commits
[Top][All Lists]
Advanced

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

[paparazzi-commits] [5531] moving config files around


From: antoine drouin
Subject: [paparazzi-commits] [5531] moving config files around
Date: Sat, 21 Aug 2010 20:40:54 +0000

Revision: 5531
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5531
Author:   poine
Date:     2010-08-21 20:40:54 +0000 (Sat, 21 Aug 2010)
Log Message:
-----------
moving config files around

Modified Paths:
--------------
    paparazzi3/trunk/conf/boards/booz_1.0.makefile
    paparazzi3/trunk/conf/boards/lisa_l_1.0.makefile

Added Paths:
-----------
    paparazzi3/trunk/conf/boards/booz_1.0.h
    paparazzi3/trunk/conf/boards/lisa_l_1.0.h

Removed Paths:
-------------
    paparazzi3/trunk/conf/boards/booz.makefile

Deleted: paparazzi3/trunk/conf/boards/booz.makefile
===================================================================
--- paparazzi3/trunk/conf/boards/booz.makefile  2010-08-21 20:39:50 UTC (rev 
5530)
+++ paparazzi3/trunk/conf/boards/booz.makefile  2010-08-21 20:40:54 UTC (rev 
5531)
@@ -1,12 +0,0 @@
-#
-# booz.makefile
-#
-# http://paparazzi.enac.fr/wiki/Booz
-#
-ARCH=lpc21
-ARCHI=arm7
-BOARD_CFG = \"boards/booz2_v1_0.h\"
-
-ifndef FLASH_MODE
-FLASH_MODE = IAP
-endif
\ No newline at end of file

Copied: paparazzi3/trunk/conf/boards/booz_1.0.h (from rev 5514, 
paparazzi3/trunk/conf/autopilot/boards/booz2_v1_0.h)
===================================================================
--- paparazzi3/trunk/conf/boards/booz_1.0.h                             (rev 0)
+++ paparazzi3/trunk/conf/boards/booz_1.0.h     2010-08-21 20:40:54 UTC (rev 
5531)
@@ -0,0 +1,103 @@
+#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 */

Modified: paparazzi3/trunk/conf/boards/booz_1.0.makefile
===================================================================
--- paparazzi3/trunk/conf/boards/booz_1.0.makefile      2010-08-21 20:39:50 UTC 
(rev 5530)
+++ paparazzi3/trunk/conf/boards/booz_1.0.makefile      2010-08-21 20:40:54 UTC 
(rev 5531)
@@ -20,5 +20,5 @@
 RADIO_CONTROL_LED  = 1
 RADIO_CONTROL_LINK = UART0
 
-MODEM_PORT=UART1
-MODEM_BAUD=B57500
+MODEM_PORT = UART1
+MODEM_BAUD = B57600

Copied: paparazzi3/trunk/conf/boards/lisa_l_1.0.h (from rev 5514, 
paparazzi3/trunk/conf/autopilot/boards/lisa_0.99.h)
===================================================================
--- paparazzi3/trunk/conf/boards/lisa_l_1.0.h                           (rev 0)
+++ paparazzi3/trunk/conf/boards/lisa_l_1.0.h   2010-08-21 20:40:54 UTC (rev 
5531)
@@ -0,0 +1,19 @@
+#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 */

Modified: paparazzi3/trunk/conf/boards/lisa_l_1.0.makefile
===================================================================
--- paparazzi3/trunk/conf/boards/lisa_l_1.0.makefile    2010-08-21 20:39:50 UTC 
(rev 5530)
+++ paparazzi3/trunk/conf/boards/lisa_l_1.0.makefile    2010-08-21 20:40:54 UTC 
(rev 5531)
@@ -6,5 +6,20 @@
 
 ARCH=stm32
 ARCHI=stm32
-BOARD_CFG=\"boards/lisa_0.99.h\"
-FLASH_MODE = JTAG
\ No newline at end of file
+BOARD_CFG=\"boards/lisa_l_1.0.h\"
+ifndef FLASH_MODE
+FLASH_MODE = JTAG
+endif
+
+#
+#
+# some default values shared between different firmwares
+#
+#
+
+RADIO_CONTROL_LED  = 5
+RADIO_CONTROL_LINK = UART3
+
+MODEM_PORT=UART2
+MODEM_BAUD=B57600
+




reply via email to

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