Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New target mamba f405 mk2 #18402

Merged
merged 104 commits into from
Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
fb93543
Add files via upload
taileron Jun 28, 2021
85e6090
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 11, 2021
609202f
Add files via upload
taileron Oct 11, 2021
6c1ee61
Delete default.cmake
taileron Oct 11, 2021
f42cf28
Delete rc.board_mavlink
taileron Oct 11, 2021
a81f01b
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 11, 2021
9619daf
Delete boards/mamba directory
taileron Oct 11, 2021
893511e
Add files via upload
taileron Oct 11, 2021
01d29a5
Add files via upload
taileron Oct 11, 2021
5e168cd
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 12, 2021
969fd14
Update firmware.prototype
taileron Oct 13, 2021
0f747e3
Update board.h
taileron Oct 13, 2021
ea62697
Update init.c
taileron Oct 13, 2021
27319a6
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 13, 2021
7a0be5d
Update firmware.prototype
taileron Oct 14, 2021
bf95117
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 14, 2021
5688c72
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 15, 2021
541530e
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 15, 2021
2f93ee0
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 15, 2021
1bc4415
Add files via upload
taileron Oct 15, 2021
e383b7b
Update timer_config.cpp
taileron Oct 15, 2021
1ccf694
Update defconfig
taileron Oct 15, 2021
477e5c0
Update timer_config.cpp
taileron Oct 15, 2021
799862a
Update defconfig
taileron Oct 15, 2021
096b737
Update timer_config.cpp
taileron Oct 15, 2021
a3b65d5
Update board_config.h
taileron Oct 16, 2021
bb6b8ff
Update timer_config.cpp
taileron Oct 16, 2021
67061e0
Update defconfig
taileron Oct 16, 2021
3a091cd
Delete boards/mro/ctrl-zero-classic directory
taileron Oct 18, 2021
cb682fe
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 19, 2021
ec56ceb
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 19, 2021
8ce73e4
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 20, 2021
1e67c4d
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 21, 2021
7f7a044
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 22, 2021
826b842
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 24, 2021
9a0ca3a
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 26, 2021
f8e1609
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 26, 2021
6e32d68
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 26, 2021
790f93f
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Oct 27, 2021
2d19a63
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 2, 2021
5385e53
Update timer_config.cpp
taileron Nov 2, 2021
689a9d6
Update board_config.h
taileron Nov 2, 2021
5672228
Update board_config.h
taileron Nov 2, 2021
76c6740
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 6, 2021
fe52573
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 9, 2021
484d496
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 9, 2021
ea28e75
Update Jenkinsfile-compile
taileron Nov 9, 2021
a1bc662
Update compile_nuttx.yml
taileron Nov 9, 2021
37efd86
Update default.px4board
taileron Nov 9, 2021
e91930b
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 9, 2021
fe596e7
Update Jenkinsfile-compile
taileron Nov 9, 2021
57b0ea3
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 10, 2021
b1a19f0
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 15, 2021
d155828
Update defconfig
taileron Nov 16, 2021
8fc29b1
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 16, 2021
c951217
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 17, 2021
d0de70a
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 19, 2021
5878130
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 21, 2021
1261b62
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 23, 2021
a80595b
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 23, 2021
c85a298
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 24, 2021
7b74a2a
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 24, 2021
02f4411
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 24, 2021
aa9e40f
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 24, 2021
eabf4c2
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 24, 2021
cb7650c
Update default.px4board
taileron Nov 25, 2021
50284cb
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 28, 2021
d045fef
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Nov 29, 2021
2a63e15
Update default.px4board
taileron Nov 29, 2021
d216858
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Dec 1, 2021
c992461
Update rc.board_sensors
taileron Dec 4, 2021
f66569e
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Dec 4, 2021
3b3d44a
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Dec 20, 2021
6b5b195
Update default.px4board
taileron Dec 22, 2021
3d45d5f
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Dec 22, 2021
0925f28
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Dec 23, 2021
3b02ee3
Update defconfig
taileron Jan 19, 2022
bc977c0
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Jan 19, 2022
2a6162c
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Jan 19, 2022
9eee779
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Jan 21, 2022
3e81929
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Jan 24, 2022
9140303
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Jan 25, 2022
1aafb96
Update board_config.h
taileron Jan 25, 2022
e750ab5
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Jan 25, 2022
d86f782
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Jan 27, 2022
0178556
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Jan 28, 2022
28fb1a7
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 2, 2022
727ad39
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 3, 2022
0767446
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 5, 2022
fad7643
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 7, 2022
ee862c3
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 8, 2022
54e674f
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 9, 2022
e3246bb
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 10, 2022
d2b0ed9
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 10, 2022
b355de7
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 12, 2022
862129b
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 16, 2022
cfe23d7
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 16, 2022
d7f221d
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 17, 2022
879ccf5
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 18, 2022
cb172c7
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 22, 2022
a1d2a32
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 24, 2022
00f5c31
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Feb 27, 2022
5fed0a3
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Mar 17, 2022
f46c657
Merge branch 'PX4:master' into New-Target-Mamba-F405-MK2
taileron Mar 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ci/Jenkinsfile-compile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ pipeline {
"cuav_x7pro_default",
"cubepilot_cubeorange_default",
"cubepilot_cubeyellow_default",
"diatone_mamba-f405-mk2_default",
"freefly_can-rtk-gps_canbootloader",
"freefly_can-rtk-gps_default",
"holybro_can-gps-v1_canbootloader",
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/compile_nuttx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
cuav_x7pro,
cubepilot_cubeorange,
cubepilot_cubeyellow,
diatone_mamba-f405-mk2,
freefly_can-rtk-gps,
holybro_can-gps-v1,
holybro_durandal-v1,
Expand Down
Binary file not shown.
53 changes: 53 additions & 0 deletions boards/diatone/mamba-f405-mk2/default.px4board
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
CONFIG_BOARD_TOOLCHAIN="arm-none-eabi"
CONFIG_BOARD_ARCHITECTURE="cortex-m4"
CONFIG_BOARD_CONSTRAINED_FLASH=y
CONFIG_BOARD_NO_HELP=y
CONFIG_BOARD_CONSTRAINED_MEMORY=y
CONFIG_BOARD_SERIAL_TEL2="/dev/ttyS1"
CONFIG_BOARD_SERIAL_GPS1="/dev/ttyS2"
CONFIG_DRIVERS_ADC_BOARD_ADC=y
CONFIG_DRIVERS_BAROMETER_BMP280=y
CONFIG_DRIVERS_DSHOT=y
CONFIG_DRIVERS_GPS=y
CONFIG_DRIVERS_IMU_INVENSENSE_ICM20602=y
CONFIG_DRIVERS_IMU_INVENSENSE_MPU6000=y
CONFIG_DRIVERS_IMU_INVENSENSE_MPU9250=y
CONFIG_DRIVERS_MAGNETOMETER_HMC5883=y
CONFIG_DRIVERS_MAGNETOMETER_AKM_AK8963=y
CONFIG_DRIVERS_OSD=y
CONFIG_DRIVERS_PWM_OUT=y
CONFIG_DRIVERS_RC_INPUT=y
CONFIG_MODULES_ATTITUDE_ESTIMATOR_Q=y
CONFIG_MODULES_BATTERY_STATUS=y
CONFIG_MODULES_COMMANDER=y
CONFIG_MODULES_CONTROL_ALLOCATOR=y
CONFIG_MODULES_DATAMAN=y
CONFIG_MODULES_EKF2=y
CONFIG_MODULES_FLIGHT_MODE_MANAGER=y
CONFIG_MODULES_LAND_DETECTOR=y
CONFIG_MODULES_LOAD_MON=y
CONFIG_MODULES_LOGGER=y
CONFIG_MODULES_MANUAL_CONTROL=y
CONFIG_MODULES_MAVLINK=y
CONFIG_MODULES_MC_ATT_CONTROL=y
CONFIG_MODULES_MC_HOVER_THRUST_ESTIMATOR=y
CONFIG_MODULES_MC_POS_CONTROL=y
CONFIG_MODULES_MC_RATE_CONTROL=y
CONFIG_MODULES_NAVIGATOR=y
CONFIG_MODULES_RC_UPDATE=y
CONFIG_MODULES_SENSORS=y
CONFIG_SYSTEMCMDS_DMESG=y
CONFIG_SYSTEMCMDS_MFT=y
CONFIG_SYSTEMCMDS_MIXER=y
CONFIG_SYSTEMCMDS_MOTOR_TEST=y
CONFIG_SYSTEMCMDS_MTD=y
CONFIG_SYSTEMCMDS_NSHTERM=y
CONFIG_SYSTEMCMDS_PARAM=y
CONFIG_SYSTEMCMDS_PERF=y
CONFIG_SYSTEMCMDS_PWM=y
CONFIG_SYSTEMCMDS_REBOOT=y
CONFIG_SYSTEMCMDS_TOP=y
CONFIG_SYSTEMCMDS_TOPIC_LISTENER=y
CONFIG_SYSTEMCMDS_UORB=y
CONFIG_SYSTEMCMDS_VER=y
CONFIG_SYSTEMCMDS_WORK_QUEUE=y
13 changes: 13 additions & 0 deletions boards/diatone/mamba-f405-mk2/firmware.prototype
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"board_id": 42,
"magic": "MAMBAF405MK2",
"description": "Firmware for the MambaF405Mk2 board",
"image": "",
"build_time": 0,
"summary": "PX4/MambaF405",
"version": "0.1",
"image_size": 0,
"image_maxsize": 1032192,
"git_identity": "",
"board_revision": 0
}
18 changes: 18 additions & 0 deletions boards/diatone/mamba-f405-mk2/init/rc.board_defaults
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh
#
# board specific defaults
#------------------------------------------------------------------------------

# system_power unavailable
param set-default CBRK_SUPPLY_CHK 894281

# Disable safety switch by default
param set-default CBRK_IO_SAFETY 22027

# use the Q attitude estimator, it works w/o mag or GPS.
param set-default SYS_MC_EST_GROUP 3
param set-default ATT_ACC_COMP 0
param set-default ATT_W_ACC 0.4000
param set-default ATT_W_GYRO_BIAS 0.0000

param set-default SYS_HAS_MAG 0
9 changes: 9 additions & 0 deletions boards/diatone/mamba-f405-mk2/init/rc.board_extras
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
#
# Mamba F405 MK2 specific board extras init
#------------------------------------------------------------------------------

if ! param compare OSD_ATXXXX_CFG 0
then
atxxxx start -s
fi
25 changes: 25 additions & 0 deletions boards/diatone/mamba-f405-mk2/init/rc.board_sensors
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/sh
#
# Mamba F405 MK2 specific board sensors init
#------------------------------------------------------------------------------

board_adc start

if ! mpu6000 -R 6 -s start
then
# some boards such as the Hobbywing XRotor F4 G2 use the ICM-20602
icm20602 -s -R 6 start
fi

if ! hmc5883 -T -X start
then
if mpu9250_i2c -X -b 2 -a 0x68 -R 28 start; then
sleep 1 # wait for mpu9250 to be configured with bypass enabled
ak8963 -X -b 2 -R 30 start # -R 34
sleep 1
mpu9250_i2c stop
ak8963 -X -b 2 -R 30 start # -R 34
fi
fi

bmp280 -X -b 2 start
Loading