mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
boards new split VENDOR_MODEL naming convention
This commit is contained in:
committed by
David Sidrane
parent
f692ad04d0
commit
abb3817d31
@@ -16,7 +16,7 @@
|
||||
#
|
||||
# @maintainer Roman Bapst <roman@px4.io>
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
#
|
||||
|
||||
sh /etc/init.d/rc.vtol_defaults
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
# @maintainer Samay Siga <samay_s@icloud.com>
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
#
|
||||
|
||||
sh /etc/init.d/rc.vtol_defaults
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# @type Quadrotor x
|
||||
# @class Copter
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
#
|
||||
# @maintainer James Goppert <james.goppert@gmail.com>
|
||||
#
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
# @type Quadrotor x
|
||||
# @class Copter
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4fmu-v3 exclude
|
||||
# @board px4fmu-v4 exclude
|
||||
# @board px4fmu-v4pro exclude
|
||||
# @board px4fmu-v5 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
# @board px4_fmu-v3 exclude
|
||||
# @board px4_fmu-v4 exclude
|
||||
# @board px4_fmu-v4pro exclude
|
||||
# @board px4_fmu-v5 exclude
|
||||
# @board aerofc-v1 exclude
|
||||
#
|
||||
# @maintainer Michael Schaeuble
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
# @type Quadrotor x
|
||||
# @class Copter
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4fmu-v3 exclude
|
||||
# @board px4fmu-v4 exclude
|
||||
# @board px4fmu-v4pro exclude
|
||||
# @board px4fmu-v5 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
# @board px4_fmu-v3 exclude
|
||||
# @board px4_fmu-v4 exclude
|
||||
# @board px4_fmu-v4pro exclude
|
||||
# @board px4_fmu-v5 exclude
|
||||
# @board aerofc-v1 exclude
|
||||
#
|
||||
# @maintainer Thomas Gubler <thomas@px4.io>
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
# @type Quadrotor x
|
||||
# @class Copter
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4fmu-v4 exclude
|
||||
# @board px4fmu-v4pro exclude
|
||||
# @board px4fmu-v5 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
# @board px4_fmu-v4 exclude
|
||||
# @board px4_fmu-v4pro exclude
|
||||
# @board px4_fmu-v5 exclude
|
||||
# @board aerofc-v1 exclude
|
||||
#
|
||||
# @maintainer Andreas Antener <andreas@uaventure.com>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# @name Spedix S250AQ
|
||||
# @url https://docs.px4.io/en/framebuild_multicopter/spedix_s250_pixracer.html
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
#
|
||||
# @type Quadrotor asymmetric
|
||||
# @class Copter
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
#
|
||||
# @name Intel Aero Ready to Fly Drone
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4fmu-v3 exclude
|
||||
# @board px4fmu-v4 exclude
|
||||
# @board px4fmu-v4pro exclude
|
||||
# @board px4fmu-v5 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
# @board px4_fmu-v3 exclude
|
||||
# @board px4_fmu-v4 exclude
|
||||
# @board px4_fmu-v4pro exclude
|
||||
# @board px4_fmu-v5 exclude
|
||||
#
|
||||
# @type Quadrotor x
|
||||
# @class Copter
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# @type Quadrotor x
|
||||
# @class Copter
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
#
|
||||
# @maintainer Anton Matosov <anton.matosov@gmail.com>
|
||||
#
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
# @type Quadrotor x
|
||||
# @class Copter
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4fmu-v3 exclude
|
||||
# @board px4fmu-v4 exclude
|
||||
# @board px4fmu-v4pro exclude
|
||||
# @board px4fmu-v5 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
# @board px4_fmu-v3 exclude
|
||||
# @board px4_fmu-v4 exclude
|
||||
# @board px4_fmu-v4pro exclude
|
||||
# @board px4_fmu-v5 exclude
|
||||
# @board aerofc-v1 exclude
|
||||
#
|
||||
# @maintainer Henry Zhang <zhanghui629@gmail.com>
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
# @type Quadrotor x
|
||||
# @class Copter
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4fmu-v3 exclude
|
||||
# @board px4fmu-v4pro exclude
|
||||
# @board px4fmu-v5 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
# @board px4_fmu-v3 exclude
|
||||
# @board px4_fmu-v4pro exclude
|
||||
# @board px4_fmu-v5 exclude
|
||||
#
|
||||
# @output MAIN1 motor 1
|
||||
# @output MAIN2 motor 2
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
#
|
||||
# @name Crazyflie 2.0
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4fmu-v3 exclude
|
||||
# @board px4fmu-v4 exclude
|
||||
# @board px4fmu-v4pro exclude
|
||||
# @board px4fmu-v5 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
# @board px4_fmu-v3 exclude
|
||||
# @board px4_fmu-v4 exclude
|
||||
# @board px4_fmu-v4pro exclude
|
||||
# @board px4_fmu-v5 exclude
|
||||
# @board aerofc-v1 exclude
|
||||
#
|
||||
# @type Quadrotor x
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# @maintainer
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
#
|
||||
|
||||
sh /etc/init.d/rc.ugv_defaults
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
# @output MAIN7 pass-through of control group 0, channel 6
|
||||
# @output MAIN8 pass-through of control group 0, channel 7
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
#
|
||||
|
||||
sh /etc/init.d/rc.ugv_defaults
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#
|
||||
# @maintainer Marco Zorzi
|
||||
#
|
||||
# @board px4fmu-v2 exclude
|
||||
# @board px4_fmu-v2 exclude
|
||||
#
|
||||
|
||||
sh /etc/init.d/rc.ugv_defaults
|
||||
|
||||
@@ -25,7 +25,7 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
if ver hwcmp AEROFC_V1 AV_X_V1 CRAZYFLIE MINDPX_V2 NXPHLITE_V3 PX4FMU_V4 OMNIBUS_F4SD SITL
|
||||
if ver hwcmp INTEL_AEROFC_V1 AV_X_V1 BITCRAZE_CRAZYFLIE AIRMIND_MINDPX_V2 NXP_HLITE_V3 PX4_FMU_V4 OMNIBUS_F4SD PX4_SITL
|
||||
then
|
||||
set MIXER_AUX none
|
||||
fi
|
||||
|
||||
@@ -17,7 +17,7 @@ fi
|
||||
# Begin Setup for board specific configurations. #
|
||||
###############################################################################
|
||||
|
||||
if ver hwcmp PX4FMU_V5 AV_X_V1
|
||||
if ver hwcmp PX4_FMU_V5 AV_X_V1
|
||||
then
|
||||
set LOGGER_BUF 64
|
||||
fi
|
||||
@@ -36,7 +36,7 @@ then
|
||||
set LOGGER_ARGS "-f"
|
||||
fi
|
||||
|
||||
if ver hwcmp AEROFC_V1
|
||||
if ver hwcmp INTEL_AEROFC_V1
|
||||
then
|
||||
set LOGGER_ARGS "-m mavlink"
|
||||
fi
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
# NOTE: Script variables are declared/initialized/unset in the rcS script.
|
||||
#
|
||||
|
||||
if ! ver hwcmp AEROFC_V1
|
||||
if ! ver hwcmp INTEL_AEROFC_V1
|
||||
then
|
||||
# Start MAVLink on the USB port
|
||||
mavlink start -r 800000 -d /dev/ttyACM0 -m config -x
|
||||
fi
|
||||
|
||||
if ver hwcmp PX4FMU_V4
|
||||
if ver hwcmp PX4_FMU_V4
|
||||
then
|
||||
# Pixracer: start MAVLink on Wifi (ESP8266 port)
|
||||
mavlink start -r 20000 -b 921600 -d /dev/ttyS0
|
||||
|
||||
@@ -26,7 +26,7 @@ if param compare SYS_MC_EST_GROUP 1
|
||||
then
|
||||
#
|
||||
# Try to start LPE. If it fails, start EKF2 as a default.
|
||||
# Unfortunately we do not build it on px4fmu-v2 due to a limited flash.
|
||||
# Unfortunately we do not build it on px4_fmu-v2 due to a limited flash.
|
||||
#
|
||||
if attitude_estimator_q start
|
||||
then
|
||||
|
||||
@@ -14,7 +14,7 @@ set BOARD_FMUV3 0
|
||||
|
||||
if ! ver hwcmp AEROFC_V1 OMNIBUS_F4SD
|
||||
then
|
||||
if ! ver hwcmp CRAZYFLIE
|
||||
if ! ver hwcmp BITCRAZE_CRAZYFLIE
|
||||
then
|
||||
# Configure all I2C buses to 100 KHz as they
|
||||
# are all external or slow
|
||||
@@ -22,7 +22,7 @@ then
|
||||
fmu i2c 2 100000
|
||||
fi
|
||||
|
||||
if ver hwcmp PX4FMU_V4
|
||||
if ver hwcmp PX4_FMU_V4
|
||||
then
|
||||
# We know there are sketchy boards out there
|
||||
# as chinese companies produce Pixracers without
|
||||
@@ -45,7 +45,7 @@ then
|
||||
adc start
|
||||
fi
|
||||
|
||||
if ver hwcmp AEROFC_V1
|
||||
if ver hwcmp INTEL_AEROFC_V1
|
||||
then
|
||||
ms5611 -T 0 start
|
||||
mpu9250 -s -R 14 start
|
||||
@@ -58,7 +58,7 @@ then
|
||||
ll40ls start i2c
|
||||
fi
|
||||
|
||||
if ver hwcmp AEROCORE2
|
||||
if ver hwcmp GUMSTIX_AEROCORE2
|
||||
then
|
||||
l3gd20 -R 12 start
|
||||
lsm303d start
|
||||
@@ -94,7 +94,7 @@ then
|
||||
|
||||
fi
|
||||
|
||||
if ver hwcmp CRAZYFLIE
|
||||
if ver hwcmp BITCRAZE_CRAZYFLIE
|
||||
then
|
||||
# Onboard I2C
|
||||
mpu9250 -R 12 start
|
||||
@@ -108,7 +108,7 @@ then
|
||||
|
||||
fi
|
||||
|
||||
if ver hwcmp MINDPX_V2
|
||||
if ver hwcmp AIRMIND_MINDPX_V2
|
||||
then
|
||||
# External I2C bus
|
||||
hmc5883 -C -T -X start
|
||||
@@ -122,7 +122,7 @@ then
|
||||
l3gd20 -R 14 start
|
||||
fi
|
||||
|
||||
if ver hwcmp NXPHLITE_V3
|
||||
if ver hwcmp NXP_HLITE_V3
|
||||
then
|
||||
# External I2C bus
|
||||
hmc5883 -C -X start
|
||||
@@ -159,7 +159,7 @@ then
|
||||
adc start
|
||||
fi
|
||||
|
||||
if ver hwcmp PX4FMU_V2
|
||||
if ver hwcmp PX4_FMU_V2
|
||||
then
|
||||
# External I2C bus
|
||||
hmc5883 -C -T -X start
|
||||
@@ -255,7 +255,7 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
if ver hwcmp PX4FMU_V4
|
||||
if ver hwcmp PX4_FMU_V4
|
||||
then
|
||||
# External I2C bus
|
||||
hmc5883 -C -T -X start
|
||||
@@ -303,7 +303,7 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
if ver hwcmp PX4FMU_V4PRO
|
||||
if ver hwcmp PX4_FMU_V4PRO
|
||||
then
|
||||
# Internal SPI bus ICM-20608-G
|
||||
mpu6000 -R 2 -T 20608 start
|
||||
@@ -324,7 +324,7 @@ then
|
||||
rm3100 start
|
||||
fi
|
||||
|
||||
if ver hwcmp PX4FMU_V5
|
||||
if ver hwcmp PX4_FMU_V5
|
||||
then
|
||||
|
||||
# Internal SPI bus ICM-20602
|
||||
@@ -353,7 +353,7 @@ then
|
||||
pmw3901 start
|
||||
fi
|
||||
|
||||
if ver hwcmp PX4_SAME70XPLAINED_V1
|
||||
if ver hwcmp ATMEL_SAME70XPLAINED_V1
|
||||
then
|
||||
# External I2C bus
|
||||
hmc5883 -C -T -X start
|
||||
|
||||
@@ -21,7 +21,7 @@ fi
|
||||
if param compare SYS_MC_EST_GROUP 1
|
||||
then
|
||||
# Try to start LPE. If it fails, start EKF2 as a default
|
||||
# Unfortunately we do not build it on px4fmu-v2 due to a limited flash.
|
||||
# Unfortunately we do not build it on px4_fmu-v2 due to a limited flash.
|
||||
if attitude_estimator_q start
|
||||
then
|
||||
local_position_estimator start
|
||||
|
||||
@@ -71,7 +71,7 @@ set FEXTRAS /fs/microsd/etc/extras.txt
|
||||
set FRC /fs/microsd/etc/rc.txt
|
||||
set FMU_ARGS ""
|
||||
set FMU_MODE pwm
|
||||
set IOFW "/etc/extras/px4io-v2_default.bin"
|
||||
set IOFW "/etc/extras/px4_io-v2_default.bin"
|
||||
set IO_PRESENT no
|
||||
set LOG_FILE /fs/microsd/bootlog.txt
|
||||
set MAV_TYPE none
|
||||
@@ -160,7 +160,7 @@ else
|
||||
fi
|
||||
|
||||
# AEROCORE2 shouldn't have an sd card and CF2 may optionally have an sd card.
|
||||
if ! ver hwcmp CRAZYFLIE AEROCORE2
|
||||
if ! ver hwcmp BITCRAZE_CRAZYFLIE GUMSTIX_AEROCORE2
|
||||
then
|
||||
# Run no SD alarm.
|
||||
if [ $LOG_FILE = /dev/null ]
|
||||
@@ -214,7 +214,7 @@ else
|
||||
#
|
||||
# Bootloader upgrade
|
||||
#
|
||||
if ver hwcmp PX4FMU_V2
|
||||
if ver hwcmp PX4_FMU_V2
|
||||
then
|
||||
set BL_FILE /etc/extras/px4fmuv3_bl.bin
|
||||
if [ -f $BL_FILE ]
|
||||
@@ -275,12 +275,12 @@ else
|
||||
# Begin setup for board specific configurations. #
|
||||
###############################################################################
|
||||
|
||||
if ver hwcmp AEROCORE2
|
||||
if ver hwcmp GUMSTIX_AEROCORE2
|
||||
then
|
||||
set DATAMAN_OPT "-f /fs/mtd_dataman"
|
||||
fi
|
||||
|
||||
if ver hwcmp AEROFC_V1
|
||||
if ver hwcmp INTEL_AEROFC_V1
|
||||
then
|
||||
if param compare SYS_AUTOSTART 0
|
||||
then
|
||||
@@ -294,7 +294,7 @@ else
|
||||
set DATAMAN_OPT -i
|
||||
fi
|
||||
|
||||
if ver hwcmp CRAZYFLIE
|
||||
if ver hwcmp BITCRAZE_CRAZYFLIE
|
||||
then
|
||||
if param compare SYS_AUTOSTART 0
|
||||
then
|
||||
@@ -303,7 +303,7 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
if ver hwcmp NXPHLITE_V3
|
||||
if ver hwcmp NXP_HLITE_V3
|
||||
then
|
||||
param set SYS_FMU_TASK 1
|
||||
fi
|
||||
@@ -340,13 +340,13 @@ else
|
||||
if [ $AUTOCNF = yes ]
|
||||
then
|
||||
# Run FMU as task on Pixracer and on boards with enough RAM.
|
||||
if ver hwcmp PX4FMU_V4 PX4FMU_V4PRO PX4FMU_V5
|
||||
if ver hwcmp PX4_FMU_V4 PX4_FMU_V4PRO PX4_FMU_V5
|
||||
then
|
||||
param set SYS_FMU_TASK 1
|
||||
fi
|
||||
|
||||
# Disable safety switch by default on Pixracer and OmnibusF4SD.
|
||||
if ver hwcmp PX4FMU_V4 OMNIBUS_F4SD
|
||||
if ver hwcmp PX4_FMU_V4 OMNIBUS_F4SD
|
||||
then
|
||||
param set CBRK_IO_SAFETY 22027
|
||||
fi
|
||||
@@ -515,7 +515,7 @@ else
|
||||
#
|
||||
sh /etc/init.d/rc.serial
|
||||
|
||||
if ver hwcmp PX4FMU_V4
|
||||
if ver hwcmp PX4_FMU_V4
|
||||
then
|
||||
# Run FrSky Telemetry on Pixracer on the FrSky port if not enabled already
|
||||
if param compare TEL_FRSKY_CONFIG 0
|
||||
@@ -565,7 +565,7 @@ else
|
||||
#
|
||||
# Launch the flow sensor as a background task.
|
||||
#
|
||||
if ver hwcmp PX4FMU_V2 PX4FMU_V4 PX4FMU_V4PRO MINDPX_V2 PX4FMU_V5 OMNIBUS_F4SD
|
||||
if ver hwcmp PX4_FMU_V2 PX4_FMU_V4 PX4_FMU_V4PRO AIRMIND_MINDPX_V2 PX4_FMU_V5 OMNIBUS_F4SD
|
||||
then
|
||||
px4flow start &
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user