mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
UVify Core board sync with px4/fmu-v4
* A few minor changes to keep the UVify Core board in sync with fmu-v4. This will be important when transitioning to the new IMU drivers using SPI DMA (#13103).
This commit is contained in:
@@ -7,7 +7,6 @@ px4_add_board(
|
|||||||
TOOLCHAIN arm-none-eabi
|
TOOLCHAIN arm-none-eabi
|
||||||
ARCHITECTURE cortex-m4
|
ARCHITECTURE cortex-m4
|
||||||
ROMFSROOT px4fmu_common
|
ROMFSROOT px4fmu_common
|
||||||
#TESTING
|
|
||||||
UAVCAN_INTERFACES 1
|
UAVCAN_INTERFACES 1
|
||||||
|
|
||||||
SERIAL_PORTS
|
SERIAL_PORTS
|
||||||
@@ -17,50 +16,37 @@ px4_add_board(
|
|||||||
|
|
||||||
DRIVERS
|
DRIVERS
|
||||||
adc
|
adc
|
||||||
#barometer # all available barometer drivers
|
|
||||||
barometer/ms5611
|
barometer/ms5611
|
||||||
batt_smbus
|
batt_smbus
|
||||||
camera_capture
|
camera_capture
|
||||||
camera_trigger
|
camera_trigger
|
||||||
#differential_pressure # all available differential pressure drivers
|
|
||||||
distance_sensor # all available distance sensor drivers
|
distance_sensor # all available distance sensor drivers
|
||||||
dshot
|
dshot
|
||||||
gps
|
gps
|
||||||
#heater
|
|
||||||
#imu # all available imu drivers
|
|
||||||
imu/mpu6000
|
imu/mpu6000
|
||||||
imu/mpu9250
|
imu/mpu9250
|
||||||
irlock
|
irlock
|
||||||
#lights/blinkm
|
|
||||||
#lights/rgbled
|
|
||||||
lights/rgbled_ncp5623c
|
lights/rgbled_ncp5623c
|
||||||
#magnetometer # all available magnetometer drivers
|
|
||||||
magnetometer/bmm150
|
magnetometer/bmm150
|
||||||
magnetometer/lis3mdl
|
magnetometer/lis3mdl
|
||||||
magnetometer/ist8310
|
magnetometer/ist8310
|
||||||
#mkblctrl
|
|
||||||
optical_flow # all available optical flow drivers
|
optical_flow # all available optical flow drivers
|
||||||
pca9685
|
pca9685
|
||||||
pwm_input
|
pwm_input
|
||||||
pwm_out_sim
|
pwm_out_sim
|
||||||
px4fmu
|
px4fmu
|
||||||
rc_input
|
rc_input
|
||||||
#tap_esc
|
|
||||||
#telemetry # all available telemetry drivers
|
|
||||||
#test_ppm
|
|
||||||
tone_alarm
|
tone_alarm
|
||||||
uavcan
|
uavcan
|
||||||
|
|
||||||
MODULES
|
MODULES
|
||||||
attitude_estimator_q
|
attitude_estimator_q
|
||||||
|
battery_status
|
||||||
camera_feedback
|
camera_feedback
|
||||||
commander
|
commander
|
||||||
dataman
|
dataman
|
||||||
ekf2
|
ekf2
|
||||||
events
|
events
|
||||||
#fw_att_control
|
|
||||||
#fw_pos_control_l1
|
|
||||||
#rover_pos_control
|
|
||||||
land_detector
|
land_detector
|
||||||
landing_target_estimator
|
landing_target_estimator
|
||||||
load_mon
|
load_mon
|
||||||
@@ -70,12 +56,9 @@ px4_add_board(
|
|||||||
mc_att_control
|
mc_att_control
|
||||||
mc_pos_control
|
mc_pos_control
|
||||||
navigator
|
navigator
|
||||||
battery_status
|
|
||||||
sensors
|
sensors
|
||||||
sih
|
sih
|
||||||
vmount
|
vmount
|
||||||
#vtol_att_control
|
|
||||||
#airspeed_selector
|
|
||||||
|
|
||||||
SYSTEMCMDS
|
SYSTEMCMDS
|
||||||
bl_update
|
bl_update
|
||||||
@@ -98,23 +81,10 @@ px4_add_board(
|
|||||||
reflect
|
reflect
|
||||||
sd_bench
|
sd_bench
|
||||||
shutdown
|
shutdown
|
||||||
#tests # tests and test runner
|
|
||||||
top
|
top
|
||||||
topic_listener
|
topic_listener
|
||||||
tune_control
|
tune_control
|
||||||
usb_connected
|
usb_connected
|
||||||
ver
|
ver
|
||||||
work_queue
|
work_queue
|
||||||
|
|
||||||
EXAMPLES
|
|
||||||
#bottle_drop # OBC challenge
|
|
||||||
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
|
||||||
#hello
|
|
||||||
#hwtest # Hardware test
|
|
||||||
#matlab_csv_serial
|
|
||||||
#px4_mavlink_debug # Tutorial code from http://dev.px4.io/en/debug/debug_values.html
|
|
||||||
#px4_simple_app # Tutorial code from http://dev.px4.io/en/apps/hello_sky.html
|
|
||||||
#rover_steering_control # Rover example app
|
|
||||||
#uuv_example_app
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -236,8 +236,8 @@
|
|||||||
/* UART8 has no alternate pin config */
|
/* UART8 has no alternate pin config */
|
||||||
|
|
||||||
/* UART RX DMA configurations */
|
/* UART RX DMA configurations */
|
||||||
#define DMAMAP_USART1_RX DMAMAP_USART1_RX_2
|
#define DMAMAP_USART1_RX DMAMAP_USART1_RX_1 /*DMA2 Stream 2*/
|
||||||
#define DMAMAP_USART6_RX DMAMAP_USART6_RX_2
|
#define DMAMAP_USART6_RX DMAMAP_USART6_RX_1 /*DMA2 Stream 1*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAN
|
* CAN
|
||||||
|
|||||||
@@ -217,7 +217,6 @@ CONFIG_UART7_SERIAL_CONSOLE=y
|
|||||||
CONFIG_UART7_TXBUFSIZE=300
|
CONFIG_UART7_TXBUFSIZE=300
|
||||||
CONFIG_UART8_BAUD=57600
|
CONFIG_UART8_BAUD=57600
|
||||||
CONFIG_UART8_RXBUFSIZE=300
|
CONFIG_UART8_RXBUFSIZE=300
|
||||||
CONFIG_UART8_RXDMA=y
|
|
||||||
CONFIG_UART8_TXBUFSIZE=300
|
CONFIG_UART8_TXBUFSIZE=300
|
||||||
CONFIG_USART1_RXBUFSIZE=600
|
CONFIG_USART1_RXBUFSIZE=600
|
||||||
CONFIG_USART1_RXDMA=y
|
CONFIG_USART1_RXDMA=y
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ __EXPORT const io_timers_t io_timers[MAX_IO_TIMERS] = {
|
|||||||
.start_ccr_register = TIM_DMABASE_CCR2,
|
.start_ccr_register = TIM_DMABASE_CCR2,
|
||||||
.channels_number = 2u // CCR2 and CCR3
|
.channels_number = 2u // CCR2 and CCR3
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user