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

AP_HAL_ChibiOS: Make ZeroOneX6 supports Bi-directional DShot #29023

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Binary file modified Tools/bootloaders/ZeroOneX6_bl.bin
100644 → 100755
Binary file not shown.
4,949 changes: 2,428 additions & 2,521 deletions Tools/bootloaders/ZeroOneX6_bl.hex
100644 → 100755

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## ZeroOneX6 Flight Controller
The ZeroOne X6 is a flight controller manufactured by ZeroOne, which is based on the open-source FMU v6X architecture and Pixhawk Autopilot Bus open source specifications.
![Uploading ZeroOneX6.jpg…]()
![Uploading ZeroOneX6.jpg…](https://github.com/ZeroOne-Aero/ardupilot/blob/pr-ZeroOneX6-250103/libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/ZeroOneX6.jpg?raw=true)


## Features:
Expand All @@ -13,18 +13,18 @@ The ZeroOne X6 is a flight controller manufactured by ZeroOne, which is based on
STM32F103
- Sensors
- IMU:
Internal Vibration Isolation for IMUs
IMU constant temperature heating(1 W heating power).
With Triple Synced IMUs, BalancedGyro technology, low noise and more shock-resistant:
IMU1-ICM45686(With vibration isolation)
IMU2-BMI088(With vibration isolation)
IMU3- ICM45686(No vibration isolation)
Internal Vibration Isolation for IMUs
IMU constant temperature heating(1 W heating power).
With Triple Synced IMUs, BalancedGyro technology, low noise and more shock-resistant:
IMU1-ICM45686(With vibration isolation)
IMU2-BMI088(With vibration isolation)
IMU3- ICM45686(No vibration isolation)
- Baro:
Two barometers:2 x ICP20100
Magnetometer: Builtin RM3100 magnetometer
Two barometers:2 x ICP20100
Magnetometer: Builtin RM3100 magnetometer

## Pinout
![ZeroOneX6 Pinout](https://github.com/ZeroOne-Aero/ardupilot/blob/zeroOneBootLoader/libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/ZeroOneX6Pinout.jpg "ZeroOneX6")
![ZeroOneX6 Pinout](https://github.com/ZeroOne-Aero/ardupilot/blob/pr-ZeroOneX6-250103/libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/ZeroOneX6Pinout.jpg "ZeroOneX6")


## UART Mapping
Expand Down
Empty file modified libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/ZeroOneX6.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/ZeroOneX6.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/ZeroOneX6Pinout.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/defaults.parm
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ CAN_P1_DRIVER 1
CAN_P2_DRIVER 1

BATT_MONITOR 8
GPS1_TYPE 9
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/hwdef-bl.dat
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PA14 JTCK-SWCLK SWD

# CS pins
PI9 IMU1_CS CS
PH5 ICM42688_CS CS
PH5 ICM45686_CS CS
PI4 BMI088_A_CS CS
PI8 BMI088_G_CS CS
PH15 BMM150_CS CS
Expand Down
9 changes: 3 additions & 6 deletions libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/hwdef.dat
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,6 @@ ENABLE_DFU_BOOT 1
env BUILD_ABIN True

# enable support for dshot on iomcu
#github suggestion
ROMFS io_firmware_dshot.bin Tools/IO_Firmware/iofirmware_dshot_highpolh.bin
define HAL_WITH_IO_MCU_DSHOT 1
#V6X
#ROMFS io_firmware_dshot.bin Tools/IO_Firmware/iofirmware_f103_dshot_lowpolh.bin
#define HAL_WITH_IO_MCU_BIDIR_DSHOT 1
# V6X
ROMFS io_firmware_dshot.bin Tools/IO_Firmware/iofirmware_f103_dshot_lowpolh.bin
define HAL_WITH_IO_MCU_BIDIR_DSHOT 1
Loading