mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-02-05 10:41:00 +08:00
[boards] remove Apogee with bare metal arch. (#3583)
Co-authored-by: Fabien-B <Fabien-B@github.com>
This commit is contained in:
@@ -1,76 +0,0 @@
|
||||
<!DOCTYPE airframe SYSTEM "../airframe.dtd">
|
||||
|
||||
<!-- this is a quadrotor frame equiped with Lisa/M -->
|
||||
|
||||
<airframe name="setup_apogee">
|
||||
|
||||
<firmware name="setup">
|
||||
<target name="tunnel" board="apogee_1.0"/>
|
||||
<target name="usb_tunnel" board="apogee_1.0">
|
||||
<configure name="TUNNEL_PORT" value="UART6"/>
|
||||
</target>
|
||||
<target name="setup_actuators" board="apogee_1.0">
|
||||
<module name="actuators" type="pwm"/>
|
||||
</target>
|
||||
</firmware>
|
||||
|
||||
<firmware name="test_progs">
|
||||
<target name="test_manual" board="apogee_1.0"/>
|
||||
<target name="test_sys_time_timer" board="apogee_1.0"/>
|
||||
<target name="test_sys_time_usleep" board="apogee_1.0"/>
|
||||
<target name="test_telemetry" board="apogee_1.0"/>
|
||||
|
||||
<target name="test_actuators_pwm" board="apogee_1.0">
|
||||
</target>
|
||||
<target name="test_actuators_pwm_sin" board="apogee_1.0">
|
||||
</target>
|
||||
<target name="test_baro_board" board="apogee_1.0">
|
||||
<module name="imu" type="apogee"/>
|
||||
<configure name="IMU_INIT" value="1"/>
|
||||
</target>
|
||||
<target name="test_imu" board="apogee_1.0">
|
||||
<module name="imu" type="apogee"/>
|
||||
</target>
|
||||
<target name="test_adc" board="apogee_1.0"/>
|
||||
<target name="test_uart" board="apogee_1.0">
|
||||
<define name="USE_UART4"/>
|
||||
<define name="UART4_BAUD" value="B57600"/>
|
||||
<define name="USE_UART6"/>
|
||||
<define name="UART6_BAUD" value="B57600"/>
|
||||
</target>
|
||||
|
||||
<!-- Communication -->
|
||||
<module name="radio_control" type="ppm">
|
||||
</module>
|
||||
</firmware>
|
||||
|
||||
<servos>
|
||||
<servo name="1" no="0" min="950" neutral="1500" max="2050"/>
|
||||
<servo name="2" no="1" min="950" neutral="1500" max="2050"/>
|
||||
<servo name="3" no="2" min="950" neutral="1500" max="2050"/>
|
||||
<servo name="4" no="3" min="950" neutral="1500" max="2050"/>
|
||||
<servo name="5" no="4" min="950" neutral="1500" max="2050"/>
|
||||
<servo name="6" no="5" min="950" neutral="1500" max="2050"/>
|
||||
<servo name="7" no="6" min="950" neutral="1500" max="2050"/>
|
||||
</servos>
|
||||
|
||||
<commands>
|
||||
<axis name="ROLL" failsafe_value="0"/>
|
||||
<axis name="PITCH" failsafe_value="0"/>
|
||||
<axis name="YAW" failsafe_value="0"/>
|
||||
<axis name="THRUST" failsafe_value="0"/>
|
||||
<axis name="AUX5" failsafe_value="0"/>
|
||||
<axis name="AUX6" failsafe_value="0"/>
|
||||
</commands>
|
||||
|
||||
<command_laws>
|
||||
<set servo="1" value="@ROLL"/>
|
||||
<set servo="2" value="@PITCH"/>
|
||||
<set servo="3" value="@YAW"/>
|
||||
<set servo="4" value="@THRUST"/>
|
||||
<set servo="5" value="@AUX5"/>
|
||||
<set servo="6" value="@AUX6"/>
|
||||
<set servo="7" value="@AUX7"/>
|
||||
</command_laws>
|
||||
|
||||
</airframe>
|
||||
@@ -1,56 +0,0 @@
|
||||
# Hey Emacs, this is a -*- makefile -*-
|
||||
#
|
||||
# apogee_1.0.makefile
|
||||
#
|
||||
#
|
||||
|
||||
BOARD=apogee
|
||||
BOARD_VERSION=1.0
|
||||
BOARD_CFG=\"boards/$(BOARD)_$(BOARD_VERSION).h\"
|
||||
|
||||
ARCH=stm32
|
||||
ARCH_L=f4
|
||||
ARCH_DIR=stm32
|
||||
SRC_ARCH=arch/$(ARCH_DIR)
|
||||
$(TARGET).ARCHDIR = $(ARCH)
|
||||
$(TARGET).LDSCRIPT=$(SRC_ARCH)/apogee.ld
|
||||
|
||||
HARD_FLOAT=yes
|
||||
|
||||
# default flash mode is via usb dfu bootloader
|
||||
# possibilities: DFU-UTIL, SWD, STLINK
|
||||
FLASH_MODE ?= DFU-UTIL
|
||||
|
||||
#
|
||||
# default LED configuration
|
||||
#
|
||||
RADIO_CONTROL_LED ?= 4
|
||||
BARO_LED ?= none
|
||||
AHRS_ALIGNER_LED ?= 2
|
||||
GPS_LED ?= 3
|
||||
SYS_TIME_LED ?= 1
|
||||
|
||||
#
|
||||
# default UART configuration (modem, gps, spektrum)
|
||||
#
|
||||
|
||||
MODEM_PORT ?= UART1
|
||||
MODEM_BAUD ?= B57600
|
||||
|
||||
GPS_PORT ?= UART4
|
||||
GPS_BAUD ?= B38400
|
||||
|
||||
RADIO_CONTROL_SPEKTRUM_PRIMARY_PORT ?= UART2
|
||||
|
||||
SBUS_PORT ?= UART2
|
||||
|
||||
#
|
||||
# default actuator configuration
|
||||
#
|
||||
# you can use different actuators by adding a configure option to your firmware section
|
||||
# e.g. <configure name="ACTUATORS" value="actuators_ppm/>
|
||||
# and by setting the correct "driver" attribute in servo section
|
||||
# e.g. <servo driver="Ppm">
|
||||
#
|
||||
ACTUATORS ?= actuators_pwm
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
<!DOCTYPE module SYSTEM "../module.dtd">
|
||||
|
||||
<module name="apogee_1.0" dir="boards">
|
||||
<doc>
|
||||
<description>
|
||||
Specific configuration for Apogee 1.0
|
||||
</description>
|
||||
</doc>
|
||||
<dep>
|
||||
<depends>i2c,baro_board_common,power_switch</depends>
|
||||
<provides>baro</provides>
|
||||
</dep>
|
||||
<makefile target="!sim|nps|fbw">
|
||||
<define name="USE_I2C1"/>
|
||||
<file name="mpl3115.c" dir="peripherals"/>
|
||||
<file name="baro_board.c" dir="$(SRC_BOARD)"/>
|
||||
</makefile>
|
||||
</module>
|
||||
|
||||
Reference in New Issue
Block a user