[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [6315] removed some obsolete classix files, board ma
From: |
Felix Ruess |
Subject: |
[paparazzi-commits] [6315] removed some obsolete classix files, board makefiles please in conf/ boards and board headers in sw/airborne/boards |
Date: |
Mon, 01 Nov 2010 11:34:57 +0000 |
Revision: 6315
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=6315
Author: flixr
Date: 2010-11-01 11:34:57 +0000 (Mon, 01 Nov 2010)
Log Message:
-----------
removed some obsolete classix files, board makefiles please in conf/boards and
board headers in sw/airborne/boards
Removed Paths:
-------------
paparazzi3/trunk/conf/autopilot/classix.h
paparazzi3/trunk/conf/autopilot/classix.makefile
paparazzi3/trunk/conf/autopilot/classix_proto1.h
paparazzi3/trunk/conf/autopilot/classix_proto1.makefile
Deleted: paparazzi3/trunk/conf/autopilot/classix.h
===================================================================
--- paparazzi3/trunk/conf/autopilot/classix.h 2010-11-01 11:34:40 UTC (rev
6314)
+++ paparazzi3/trunk/conf/autopilot/classix.h 2010-11-01 11:34:57 UTC (rev
6315)
@@ -1,95 +0,0 @@
-#ifndef CONFIG_CLASSIX_H
-#define CONFIG_CLASSIX_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 0x00
-#define PBSD_VAL 4
-/* Peripheral bus clock freq. */
-#define PCLK (CCLK / PBSD_VAL)
-
-
-
-#ifdef FBW
-#define LED_1_BANK 1
-#define LED_1_PIN 24
-
-#define LED_2_BANK 1
-#define LED_2_PIN 31
-
-
-/* PPM : rc rx on P0.16 : FBW_RC1 connector
-#define PPM_PINSEL PINSEL1
-#define PPM_PINSEL_VAL 0x03
-#define PPM_PINSEL_BIT 0
-*/
-
-
-/* PPM : rc rx on P0.6 : FBW_RC0 connector */
-#define PPM_PINSEL PINSEL0
-#define PPM_PINSEL_VAL 0x02
-#define PPM_PINSEL_BIT 12
-#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
-
-/* SERVOS : 4017 on FBW_RC0 connector */
-
-/* MAT0.1 on P0.5 */
-#define SERVO_CLOCK_PIN 5
-#define SERVO_CLOCK_PINSEL PINSEL0
-#define SERVO_CLOCK_PINSEL_VAL 0x02
-#define SERVO_CLOCK_PINSEL_BIT 10
-
-/* reset on P1.25 */
-#define SERVO_RESET_PIN 25
-#define SERVO_RESET_PINSEL PINSEL2
-
-/* ADCs */
-/* AD0.6 ( on pin P0.4 ) is supply monitoring */
-#define USE_AD0_6
-
-#endif /* FBW */
-
-
-
-#ifdef AP
-
-#define SPI_SELECT_SLAVE0_PORT 0
-#define SPI_SELECT_SLAVE0_PIN 20
-
-#ifndef SITL
-/* sitl handles this board as a mono-processor one: unfortunately these
- definitions are already in FBW */
-
-#define LED_1_BANK 1
-#define LED_1_PIN 18
-
-#define LED_2_BANK 1
-#define LED_2_PIN 19
-
-#define LED_3_BANK 1
-#define LED_3_PIN 20
-
-#endif /* !SITL */
-
-#endif /* AP */
-
-/* ADC */
-/* Definitions for test_adcs.c, to test ADCs on AP ANALOG1 */
-#define ADC_0 AdcBank1(5)
-#define ADC_1 AdcBank1(6)
-#define ADC_2 AdcBank1(7)
-#define ADC_3 AdcBank1(4)
-#define ADC_4 AdcBank1(3)
-#define ADC_5 AdcBank1(2)
-
-
-#endif /* CONFIG_CLASSIX_H */
Deleted: paparazzi3/trunk/conf/autopilot/classix.makefile
===================================================================
--- paparazzi3/trunk/conf/autopilot/classix.makefile 2010-11-01 11:34:40 UTC
(rev 6314)
+++ paparazzi3/trunk/conf/autopilot/classix.makefile 2010-11-01 11:34:57 UTC
(rev 6315)
@@ -1,30 +0,0 @@
-# Makefile for the Classix board (2 arm7tdmi)
-
-ARCH=arm7
-
-ap.ARCHDIR = $(ARCH)
-
-
-fbw.ARCHDIR = $(ARCH)
-
-test.ARCHDIR = $(ARCH)
-
-LPC21ISP_BAUD = 38400
-LPC21ISP_XTAL = 12000
-
-# A test program to monitor the ADC values
-test_adcs.ARCHDIR = $(ARCH)
-
-test_adcs.CFLAGS += -DAP -DBOARD_CONFIG=\"classix.h\" -DLED -DTIME_LED=2 -DADC
-DUSE_AD1 -DUSE_AD1_2 -DUSE_AD1_3 -DUSE_AD1_4 -DUSE_AD1_5 -DUSE_AD1_6
-DUSE_AD1_7
-test_adcs.CFLAGS += -DDOWNLINK -DUSE_UART0 -DDOWNLINK_TRANSPORT=PprzTransport
-DDOWNLINK_DEVICE=Uart0 -DPPRZ_UART=Uart0 -DDATALINK=PPRZ -DUART0_BAUD=B57600
-test_adcs.srcs += downlink.c $(SRC_ARCH)/uart_hw.c
-
-test_adcs.srcs += sys_time.c $(SRC_ARCH)/adc_hw.c $(SRC_ARCH)/sys_time_hw.c
$(SRC_ARCH)/armVIC.c pprz_transport.c test_adcs.c
-
-# a test program to setup actuators
-# Message to send on Ivy bus, 1500 on servo 3 for aircraft 16
-# xxx RAW_DATALINK 16 SET_ACTUATOR;1500;3
-setup_actuators.ARCHDIR = $(ARCH)
-
-setup_actuators.CFLAGS += -DFBW -DBOARD_CONFIG=\"classix.h\" -DLED
-DTIME_LED=2 -DACTUATORS=\"servos_4017_hw.h\" -DSERVOS_4017
-DSERVOS_4017_CLOCK_FALLING -DUSE_UART0 -DUART0_BAUD=B57600 -DDATALINK=PPRZ
-DPPRZ_UART=Uart0
-setup_actuators.srcs += sys_time.c $(SRC_ARCH)/sys_time_hw.c
$(SRC_ARCH)/armVIC.c pprz_transport.c setup_actuators.c $(SRC_ARCH)/uart_hw.c
$(SRC_ARCH)/servos_4017_hw.c main.c
Deleted: paparazzi3/trunk/conf/autopilot/classix_proto1.h
===================================================================
--- paparazzi3/trunk/conf/autopilot/classix_proto1.h 2010-11-01 11:34:40 UTC
(rev 6314)
+++ paparazzi3/trunk/conf/autopilot/classix_proto1.h 2010-11-01 11:34:57 UTC
(rev 6315)
@@ -1,7 +0,0 @@
-#include "classix.h"
-
-#undef FOSC
-#define FOSC (14745600)
-
-#undef PLL_MUL
-#define PLL_MUL (4)
Deleted: paparazzi3/trunk/conf/autopilot/classix_proto1.makefile
===================================================================
--- paparazzi3/trunk/conf/autopilot/classix_proto1.makefile 2010-11-01
11:34:40 UTC (rev 6314)
+++ paparazzi3/trunk/conf/autopilot/classix_proto1.makefile 2010-11-01
11:34:57 UTC (rev 6315)
@@ -1,10 +0,0 @@
-# Makefile for the Classix board (2 arm7tdmi)
-
-ARCH=lpc21
-
-ap.ARCHDIR = $(ARCH)
-
-fbw.ARCHDIR = $(ARCH)
-
-LPC21ISP_BAUD = 115200
-LPC21ISP_XTAL = 14746
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [6315] removed some obsolete classix files, board makefiles please in conf/ boards and board headers in sw/airborne/boards,
Felix Ruess <=