Commit Graph

57 Commits

Author SHA1 Message Date
Tom Pittenger 07be987073 AP_HAL_ChibiOS: enable SagetechMXS driver by default only for CUAV-X7 and CubeOrange 2022-06-14 07:10:17 -07:00
bugobliterator 68f0863fb6 AP_HAL_ChibiOS: remove peripheral power down in bootloader 2022-06-03 16:41:22 +10:00
bugobliterator 2726de9b7a AP_HAL_ChibiOS: split the CubeOrange hwdef into inc and dat so the inc can be properly reused 2022-06-03 16:41:22 +10:00
yuri-rage eaa62fb490 AP_HAL: remove BRD_PWM_COUNT reference 2022-04-20 07:57:57 +09:00
Peter Barker a30f33a674 hwdef: enable both OreoLED and Solo gimbal on CubeOrange
for users who have replaced their CubeSolo with a CubeOrange
2022-03-29 08:24:59 +09:00
bugobliterator faf0c0d7c3 AP_HAL_ChibiOS: set canfd bitrates using CANFD_SUPPORTED opt 2022-03-11 18:13:54 +11:00
Siddharth Purohit 72090d10da AP_HAL_ChibiOS: add hwdef config to enable CANFD support 2022-03-11 18:13:54 +11:00
bugobliterator 878940292d HAL_ChibiOS: no need to mention END reserve for Crash Dump anymore 2021-12-01 18:17:50 +11:00
Josh Henderson b37c214f28 CubeOrange: define HAL_CHIBIOS_ARCH_CUBE 2021-11-30 10:20:54 +11:00
Josh Henderson b8411c22c5 CubeOrange: set default EKF_IMU_MASK 2021-11-30 10:20:54 +11:00
Jaime 5d117c6ae7 hwdef: CubeOrange Enable Serial2 and Serial3 in bootloader hwdef 2021-11-10 18:10:20 +11:00
bugobliterator 8651d99de6 HAL_ChibiOS: move to using parameter STORAGE_FLASH_PAGE instead of define 2021-10-30 19:24:57 +11:00
bugobliterator b2ffc12092 HAL_ChibiOS: define flash page for dumping crash log 2021-10-30 19:24:57 +11:00
Andrew Tridgell 68146d541c HAL_ChibiOS: removed boilerplate lines from bootloaders 2021-10-26 15:56:53 +11:00
Iampete1 5d5a21a4ec AP_Hal_ChibiOS: CubeOrange: set default min IMU temp margin 2021-10-19 11:16:45 +11:00
Iampete1 6f1f26a72a AP_Hal_ChibiOS: CubeOrange: add OUTPUT to GPIO 2021-10-05 15:46:02 +11:00
Iampete1 b6de44cc7b AP_HAL_ChibiOS: CubeOrange: add alt config for telem1 RTS CTS as GPIO 2021-09-29 19:55:21 +10:00
Peter Barker 70aef84997 AP_HAL_ChibiOS: remove definitions of BOARD_PWM_COUNT_DEFAULT
No longer used
2021-08-20 10:51:19 +10:00
Andrew Tridgell bbcce717dc HAL_ChibiOS: stop defaulting relay pins to 54 and 55
this just leads to confusion
2021-07-22 07:48:12 +10:00
Andrew Tridgell ac1e03e16a HAL_ChibiOS: move heater gains on CubeOrange to hwdef.dat
this makes it easier for users using apjtool to override params
2021-06-01 08:07:49 +10:00
Andrew Tridgell 91dce554d1 HAL_ChibiOS: removed unnecessary USB product IDs from boards 2021-05-27 09:30:30 +09:00
Andrew Tridgell 098a17fe2e HAL_ChibiOS: fixed CubeOrange ADSB param name 2021-02-13 13:06:20 +11:00
Andrew Tridgell 86fda93781 HAL_ChibiOS: added heater correction of AK09916
this fixes a problem with the internal compass being impacted by the
magnetic field from the heater
2021-02-09 11:32:19 +11:00
Andrew Tridgell f93e2f6717 HAL_ChibiOS: enable 32k FRAM on H7 boards 2021-01-16 06:47:10 +11:00
Ari Krupnik 79e1f5e8bd AP_HAL_ChibiOS: standard spelling of variant 2020-12-25 00:01:50 +11:00
bugobliterator 575a56a6b6 hwdef: CubeOrange: do power reset on peripherals and sensor at boot 2020-09-16 18:08:08 +10:00
bugobliterator a2ee82d8d9 hwdef: use inv2 sensor checks in CubeOrange 2020-09-16 18:08:08 +10:00
Andrew Tridgell d283dd7d00 HAL_ChibiOS: define polarity of 3.3/5v selection for PWM 2020-07-21 08:47:27 +10:00
Andrew Tridgell c1403a2e2b HAL_ChibiOS: fixed default CubeOrange pin for 2nd current sensor 2020-06-10 17:32:11 +10:00
Andrew Tridgell 571fbf8f71 HAL_ChibiOS: update power VALID pins 2020-06-04 09:51:27 +10:00
Andrew Tridgell 32cdfddf12 HAL_ChibiOS: convert all hwdef from UART_ORDER to SERIAL_ORDER
much easier to understand
2020-04-28 10:32:23 +10:00
Andrew Tridgell e8b2b52bae HAL_ChibiOS: removed STM32_VDD from hwdef.dat
use default
2020-04-28 10:32:23 +10:00
bugobliterator a31f2e5d90 hwdef: add validation checks for CubeOrange 2020-04-10 07:04:21 +10:00
Andrew Tridgell d35fff5186 HAL_ChibiOS: set CS pins high while in bootloader
this appears to be the root cause of the parameter resets on
CubeOrange. We need to ensure the CS pin is not floating or random
noise on the SPI bus for FRAM can cause the FRAM to become corrupt
2020-03-11 09:53:06 +11:00
Andrew Tridgell bdef7d7158 HAL_ChibiOS: fixed default fast sampling on CubeOrange and Durandal 2020-02-05 12:48:51 +11:00
Andrew Tridgell d422825715 HAL_ChibiOS: removed per-board AP_FEATURE_RTSCTS and AP_FEATURE_SBUS_OUT
not needed any more
2019-12-18 17:18:44 +11:00
Andrew Tridgell 0a81c48d9c HAL_ChibiOS: lower gains on CubyOrange and Yellow heater
this should reduce the chance of baro oscillation due to rapid change
in heater temperature
2019-11-28 21:35:29 +11:00
Michael du Breuil 21f6695acd AP_HAL_ChibiOS: Add defaults.parm for CubeOrange and CubeYellow 2019-11-20 20:52:36 +11:00
Andrew Tridgell e820219202 HAL_ChibiOS: changed optimisation of higher end boards to -O2
-O3 does not seem to be a win, and takes up a lot more flash
2019-09-28 08:57:26 +10:00
bugobliterator cba98096e9 HAL_ChibiOS: move to using hardcoded heater PWM polarity in iofirmware 2019-07-25 17:05:41 +10:00
Andrew Tridgell 1919268801 HAL_ChibiOS: added OTG2 on all F7 and H7 boards with CAN
allows for SLCAN on 2nd port
2019-07-12 17:01:21 +10:00
Siddharth Purohit dcf17e5bc2 HAL_ChibiOS: hwdef: add support for dual cdc on CubeYellow and CubeOrange 2019-07-12 17:01:21 +10:00
Andrew Tridgell b12cc57c64 HAL_ChibiOS: switched on fast sampling on IMU3 by default on hex cubes
as some people are flying with EK2_IMU_MASK=7 this reduces the risk of
aliasing on IMU3
2019-07-11 10:24:45 +10:00
Siddharth Purohit 67c925865c HAL_ChibiOS: add support for CAN on STM32H7 boards 2019-07-08 12:18:29 +10:00
bugobliterator 7d4a758059 hwdef: fix default battery monitor pins for CubeOrange 2019-06-28 14:18:11 +10:00
Andrew Tridgell 82b171582e HAL_ChibiOS: added sensor config for cube varients 2019-05-30 15:39:57 +10:00
Andrew Tridgell 2b0a30a2c5 HAL_ChibiOS: ensure we don't overflow bootloader area
this modifies the ld script to use the maximum size available for the
bootloader, so we can't accidentially grow the bootloader beyond its
max size
2019-05-06 12:36:41 +10:00
Siddharth Purohit 7b54103271 HAL_ChibiOS: set pwm select pins high for 3.3V PWMout on startup 2019-04-01 21:30:12 +11:00
Siddharth Purohit 051842ea34 HAL_ChibiOS: add support for PWM Voltage level selection on CubeYellow and CubeOrange 2019-04-01 21:30:12 +11:00
Andrew Tridgell 2842063146 HAL_ChibiOS: optimize CubeYellow build
and fixed comment in CubeOrange
2019-03-11 12:40:21 +11:00