Commit Graph

75 Commits

Author SHA1 Message Date
Andy Piper c057cc5485 AP_HAL_ChibiOS: add get_output_mode() and use it to print correct banner for iomcu
add support for undef of STM32 lines and DMA_NOMAP
add support for F103 running at 24Mhz
add f103 variants of iofirmware
reduce memory usage in iomcu for new model
correct pwm output reporting
split iofirmware into config + mcu to allow f103 definition
don't enable non-existant timers on F103
2023-08-15 06:53:48 +10:00
bugobliterator 9a21297cd1 AP_HAL_ChibiOS: add support for DShot on IOMCU
set timer counter size to be a byte wide
use HAL_DSHOT_ENABLED instead of DISABLE_DSHOT
build iomcu-dshot from existing iomcu
correct defines for DMAR size on iomcu
allow iomcu dshot rate to be configured from FMU
correct DMA allocation for dshot on iomcu
allow debug builds on iofirmware
ensure dshot is enabled on iomcu dshot
support proper iomcu dshot output thread triggered by FMU
allow selective disablement of serial LEDs and passthrough
disable serial LEDs and passthrough on iomcu-dshot
propagate ESC telemetry to iomcu
dshot_send_groups() for iomcu
remove use of ICU on iomcu for dshot. only allocate possible DMA channels
rename serial passthrough and dshot defines
update dshot docs
resize dshot iomcu main stack to minimum
correct dshot prescaler usage and bit_width_mul calculation
use ChibiOS in tickless mode on iomcu-dshot so that virtual timers can be used
propagate dshot commands to iomcu
passthrough oneshot125 to iomcu
2023-08-15 06:53:48 +10:00
Michael du Breuil c1e6f130dd AP_HAL_ChibiOS: CubeOrange map EXTERN_DRDY and !EXTERN_CS to ADC 2023-08-08 09:16:56 +10:00
Andrew Tridgell 5908508811 hwdef: default most boards to MAVLink2 for 2nd USB endpoint
only CubeOrange and CubeBlack left as SLCAN
2023-07-31 19:03:13 +10:00
Peter Barker 338a4d6b38 hwdef: remove HAL_BOARD_LOG_DIRECTORY and HAL_BOARD_TERRAIN_DIRECTORY defaults
these are now defaulted in chibios_hwdef.py
2023-07-19 17:25:18 +09:00
bugobliterator 160629eb18 AP_HAL_ChibiOS: add links to detailed documentation at docs.cubepilot.org 2023-05-24 18:15:16 +10:00
bugobliterator faca23fe74 AP_HAL_ChibiOS: update CubeOrange pinout image 2023-05-24 18:15:16 +10:00
Andrew Tridgell 7a2e2f4927 hwdef: update CubeBlack/Orange/OrangePlus pinouts
the motivation for this was to add the SWD pinouts, but I took the
opportunity to get the orange and orangeplus information more up to
date as well
2023-05-24 18:15:16 +10:00
Peter Barker b52f54d480 AP_HAL_ChibiOS: add defines for all battery backends 2023-03-10 08:48:24 +11:00
Peter Barker 6c6a76bfd4 hwdef: CubeOrange: flash-from-sd-card support 2023-02-28 11:26:04 +11:00
Peter Barker af3edf0089 AP_HAL_ChibiOS: add and use AP_BATTMON_SMBUS_SOLO_ENABLED 2023-01-25 22:42:55 +11:00
bugobliterator 29da18493b AP_HAL_ChibiOS: make EKF running on second IMU primary 2022-11-23 10:17:38 +11:00
Peter Barker 65c22b52cb AP_HAL_ChibiOS: rename HAL_OREO_LED_ENABLED to AP_NOTIFY_OREOLED_ENABLED 2022-11-22 10:23:35 +11:00
Andrew Tridgell b808351f2a hwdef: enable DFU on some boards 2022-08-30 10:51:06 +10:00
bugobliterator eb116849c6 AP_HAL_ChibiOS: add LED Bootloader in CubeOrange and related boards 2022-08-30 10:51:06 +10:00
bugobliterator 0c78f8bac2 AP_HAL_ChibiOS: add support for booting into DFU 2022-08-30 10:51:06 +10:00
bugobliterator fce49232b2 hwdef: disable power reset on peripheral line 2022-08-10 17:06:29 +10:00
Andrew Tridgell 696cd1a19b hwdef: added compass compensation for 3 boards
use the new compass heater compensation for 4 compasses across 3
boards
2022-08-02 17:26:46 +10:00
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