mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 06:23:33 +08:00
src/drivers/{kinetis,stm32}: move to arch-specific directories
This commit is contained in:
@@ -41,7 +41,6 @@ px4_add_board(
|
||||
pwm_out_sim
|
||||
px4fmu
|
||||
rc_input
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -45,7 +45,6 @@ px4_add_board(
|
||||
|
||||
DRIVERS
|
||||
bootloaders
|
||||
stm32
|
||||
uavcanesc
|
||||
|
||||
MODULES
|
||||
|
||||
@@ -47,7 +47,6 @@ px4_add_board(
|
||||
px4fmu
|
||||
px4io
|
||||
roboclaw
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -48,7 +48,6 @@ px4_add_board(
|
||||
px4fmu
|
||||
rc_input
|
||||
#roboclaw
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ px4_add_board(
|
||||
imu/mpu9250
|
||||
optical_flow/pmw3901
|
||||
px4fmu
|
||||
stm32
|
||||
|
||||
MODULES
|
||||
attitude_estimator_q
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#include "board_config.h"
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
|
||||
/* IO Timers normally free-run at 1MHz
|
||||
|
||||
@@ -26,7 +26,6 @@ px4_add_board(
|
||||
pwm_out_sim
|
||||
px4fmu
|
||||
rc_input
|
||||
stm32
|
||||
telemetry
|
||||
tone_alarm
|
||||
osd
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ px4_add_board(
|
||||
pwm_out_sim
|
||||
px4fmu
|
||||
rc_input
|
||||
stm32
|
||||
tap_esc
|
||||
#telemetry # all available telemetry drivers
|
||||
#uavcan
|
||||
|
||||
@@ -30,7 +30,6 @@ px4_add_board(
|
||||
pwm_out_sim
|
||||
px4fmu
|
||||
rc_input
|
||||
stm32
|
||||
tap_esc
|
||||
#telemetry # all available telemetry drivers
|
||||
#uavcan
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -50,7 +50,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@ px4_add_board(
|
||||
imu/mpu6000
|
||||
imu/mpu9250
|
||||
irlock
|
||||
kinetis
|
||||
lights/blinkm
|
||||
lights/oreoled
|
||||
lights/rgbled
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#include "chip/kinetis_ftm.h"
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/kinetis/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ px4_add_board(
|
||||
#pwm_out_sim
|
||||
px4fmu
|
||||
rc_input
|
||||
stm32
|
||||
#tap_esc
|
||||
#telemetry # all available telemetry drivers
|
||||
telemetry/frsky_telemetry
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -43,7 +43,6 @@ px4_add_board(
|
||||
|
||||
DRIVERS
|
||||
bootloaders
|
||||
stm32
|
||||
uavcannode
|
||||
|
||||
MODULES
|
||||
|
||||
@@ -45,7 +45,6 @@ px4_add_board(
|
||||
|
||||
DRIVERS
|
||||
bootloaders
|
||||
stm32
|
||||
uavcanesc
|
||||
|
||||
MODULES
|
||||
|
||||
@@ -56,7 +56,6 @@ px4_add_board(
|
||||
px4fmu
|
||||
px4io
|
||||
#roboclaw
|
||||
stm32
|
||||
#tap_esc
|
||||
#telemetry # all available telemetry drivers
|
||||
#test_ppm
|
||||
|
||||
@@ -36,7 +36,6 @@ px4_add_board(
|
||||
magnetometer/hmc5883
|
||||
px4fmu
|
||||
px4io
|
||||
stm32
|
||||
#telemetry # all available telemetry drivers
|
||||
telemetry/iridiumsbd
|
||||
tone_alarm
|
||||
|
||||
@@ -52,7 +52,6 @@ px4_add_board(
|
||||
pwm_out_sim
|
||||
px4fmu
|
||||
px4io
|
||||
stm32
|
||||
#tap_esc
|
||||
#telemetry # all available telemetry drivers
|
||||
#test_ppm
|
||||
|
||||
@@ -36,7 +36,6 @@ px4_add_board(
|
||||
optical_flow/px4flow
|
||||
px4fmu
|
||||
px4io
|
||||
stm32
|
||||
tone_alarm
|
||||
|
||||
MODULES
|
||||
|
||||
@@ -32,7 +32,6 @@ px4_add_board(
|
||||
optical_flow/px4flow
|
||||
px4fmu
|
||||
px4io
|
||||
stm32
|
||||
tone_alarm
|
||||
|
||||
MODULES
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -52,7 +52,6 @@ px4_add_board(
|
||||
#pwm_out_sim
|
||||
px4fmu
|
||||
px4io
|
||||
stm32
|
||||
#tap_esc
|
||||
#telemetry # all available telemetry drivers
|
||||
#test_ppm
|
||||
|
||||
@@ -55,7 +55,6 @@ px4_add_board(
|
||||
px4fmu
|
||||
px4io
|
||||
roboclaw
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -54,7 +54,6 @@ px4_add_board(
|
||||
px4fmu
|
||||
px4io
|
||||
roboclaw
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -54,7 +54,6 @@ px4_add_board(
|
||||
px4fmu
|
||||
px4io
|
||||
roboclaw
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -40,7 +40,6 @@ px4_add_board(
|
||||
px4fmu
|
||||
rc_input
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -42,7 +42,6 @@ px4_add_board(
|
||||
px4fmu
|
||||
rc_input
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -40,7 +40,6 @@ px4_add_board(
|
||||
px4fmu
|
||||
rc_input
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -53,7 +53,6 @@ px4_add_board(
|
||||
px4fmu
|
||||
px4io
|
||||
roboclaw
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -52,7 +52,6 @@ px4_add_board(
|
||||
px4fmu
|
||||
px4io
|
||||
roboclaw
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -54,7 +54,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -54,7 +54,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -38,7 +38,6 @@ px4_add_board(
|
||||
px4io
|
||||
rc_input
|
||||
safety_button
|
||||
stm32
|
||||
telemetry # all available telemetry drivers
|
||||
tone_alarm
|
||||
uavcan
|
||||
|
||||
@@ -54,7 +54,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -42,7 +42,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
tone_alarm
|
||||
|
||||
@@ -42,7 +42,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
telemetry # all available telemetry drivers
|
||||
tone_alarm
|
||||
uavcan
|
||||
|
||||
@@ -52,7 +52,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -52,7 +52,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -54,7 +54,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -48,7 +48,6 @@ px4_add_board(
|
||||
px4io
|
||||
rc_input
|
||||
safety_button
|
||||
stm32
|
||||
telemetry # all available telemetry drivers
|
||||
tone_alarm
|
||||
uavcan
|
||||
|
||||
@@ -49,7 +49,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
tone_alarm
|
||||
|
||||
@@ -52,7 +52,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
telemetry # all available telemetry drivers
|
||||
tone_alarm
|
||||
uavcan
|
||||
|
||||
@@ -54,7 +54,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
@@ -54,7 +54,6 @@ px4_add_board(
|
||||
rc_input
|
||||
roboclaw
|
||||
safety_button
|
||||
stm32
|
||||
tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
test_ppm
|
||||
|
||||
@@ -6,7 +6,6 @@ px4_add_board(
|
||||
TOOLCHAIN arm-none-eabi
|
||||
ARCHITECTURE cortex-m3
|
||||
DRIVERS
|
||||
stm32
|
||||
MODULES
|
||||
px4iofirmware
|
||||
)
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include <arch/board/board.h>
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ px4_add_board(
|
||||
|
||||
DRIVERS
|
||||
bootloaders
|
||||
stm32
|
||||
#uavcannode
|
||||
|
||||
MODULES
|
||||
|
||||
@@ -41,6 +41,6 @@ add_library(drivers_board
|
||||
)
|
||||
|
||||
target_link_libraries(drivers_board
|
||||
PRIVATE
|
||||
drivers_arch
|
||||
PRIVATE
|
||||
px4_layer
|
||||
)
|
||||
|
||||
@@ -46,7 +46,6 @@ px4_add_board(
|
||||
pwm_out_sim
|
||||
px4fmu
|
||||
rc_input
|
||||
stm32
|
||||
#tap_esc
|
||||
telemetry # all available telemetry drivers
|
||||
#test_ppm
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stm32_tim.h>
|
||||
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <drivers/stm32/drv_io_timer.h>
|
||||
#include <px4_arch/io_timer.h>
|
||||
|
||||
#include "board_config.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user