Commit Graph

2376 Commits

Author SHA1 Message Date
bugobliterator 29da18493b AP_HAL_ChibiOS: make EKF running on second IMU primary 2022-11-23 10:17:38 +11:00
Peter Barker d075cc3cc5 hwdef: disable oreoled on SkyViper 2022-11-22 10:23:35 +11:00
Peter Barker 6ea352b087 AP_Notify: rename HAL_OREO_LED_ENABLED to AP_NOTIFY_OREOLED_ENABLED 2022-11-22 10:23:35 +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
xiao e0035415fc AP_HAL_ChibiOS: added PixPilot-V6 2022-11-22 07:37:42 +11:00
Peter Barker c7f08e422c AP_HAL_ChibiOS: remove GCS.h from header files 2022-11-16 18:29:07 +11:00
Peter Barker 1ac2791116 AP_HAL_ChibiOS: remove GCS.h from library header files 2022-11-16 18:29:07 +11:00
Peter Barker 7fa9364809 AP_HAL_ChibiOS: add and use AP_BEACON_ENABLED 2022-11-16 08:16:31 +11:00
Peter Barker 267353d280 hwdef: disable notify displays on SkyViper 2022-11-16 08:12:28 +11:00
Peter Barker dd35ca4583 AP_HAL_ChibiOS: allow FRSky to be compiled out 2022-11-15 18:44:45 +11:00
Peter Barker ab83f42380 AP_HAL_ChibiOS: add and use AP_NOTIFY_TOSHIBALED_ENABLED 2022-11-15 11:03:51 +11:00
Peter Barker aef745c693 AP_Compass: fix compilation when removing diagonals state 2022-11-09 21:14:04 +11:00
Peter Barker 2ee0fb671b AP_HAL_ChibiOS: allow pca9685 to be compiled out of code 2022-11-09 18:45:25 +11:00
Peter Barker 76fa78dacd AP_HAL_ChibiOS: fix SIRF defines
this allows SIRF to be included even on minimised boards if it is requested
2022-11-09 18:44:40 +11:00
Peter Barker 9c1246f318 hwdef: turn MSP on for periphs lacking explicit define 2022-11-09 10:21:44 +11:00
Peter Barker 2f1bda4375 AP_HAL_ChibiOS: explicitly default MSP off for AP_Periph
several Periphs already define this on
2022-11-09 10:21:44 +11:00
Peter Barker 7b93bdd7fd AP_HAL_ChibiOS: move definition of HAL_HOTT_TELEM_ENABLED to minimise include file 2022-11-08 20:23:58 +11:00
Peter Barker 8708b5f256 AP_HAL_ChibiOS: move definition of HAL_SOARING_ENABLED to minimise include file 2022-11-08 20:23:58 +11:00
Peter Barker fc8ad509f7 AP_HAL_ChibiOS: define HAL_MAX_CAN_PROTOCOL_DRIVERS for bootloader in hwdef.h 2022-11-08 12:06:54 +11:00
Peter Barker 6e6fb70541 AP_HAL_ChibiOS: make explicit define for notify's NCP5623 2022-11-08 10:56:12 +11:00
Peter Barker 7d103b9218 AP_HAL_ChibiOS: remove OMNIBUSF7V2-bdshot 2022-11-08 09:01:57 +11:00
Peter Barker a5cc8d6da3 AP_HAL_ChibiOS: specify AUTOBUILD_TARGETS for IOMCU
... which is just the iofirmware target
2022-11-06 12:58:18 +11:00
Peter Barker e28e528a97 hwdef: build skyviper-f412-rev1 only for Copter 2022-11-05 19:44:35 +11:00
Peter Barker bb1c3d6545 AP_HAL_ChibiOS: use minimize_features.inc for HAL_WITH_DSP 2022-11-05 14:52:10 +11:00
Peter Barker bbbb8bcc2c AP_HAL_ChibiOS: remove redefinition of HAL_WITH_DSP
now in minimize_features.inc
2022-11-05 14:52:10 +11:00
Andrew Tridgell 5c4c950faf HAL_ChibiOS: fixed BRD_SAFETY_MASK on some boards
for boards that have an IOMCU but also have a safety button on the FMU
this fixes the BRD_SAFETY_MASK
2022-11-03 18:47:03 +11:00
Andy Piper 140205a289 AP_HAL_ChibiOS: hwdef for SpeedyBee F405 v3 2022-11-02 18:16:33 +00:00
Peter Barker 82f0544e57 AP_HAL_ChibiOS: set HAL_RUNCAM_ENABLED in minimize_features.inc 2022-11-02 18:40:09 +11:00
Peter Barker a3bfc49ab1 AP_HAL_ChibiOS: set HAL_SPRAYER_ENABLED in minimize_features.inc 2022-11-02 18:40:09 +11:00
Peter Barker 5865428596 AP_HAL_ChibiOS: set AP_GRIPPER_ENABLED in minimize_features.inc 2022-11-02 18:40:09 +11:00
Peter Barker 33207bb915 AP_HAL_ChibiOS: factor out a save_some_flash.inc 2022-11-01 11:11:12 +11:00
Peter Barker be6671571b AP_HAL_ChibiOS: move defaulting of HAL_CRSF_TELEM_ENABLED to minimize_features.inc 2022-11-01 10:59:14 +11:00
bugobliterator 11154ef783 AP_HAL_ChibiOS: add replacement mag on CubeOrangePlus 2022-11-01 10:41:59 +11:00
bugobliterator bc07e76f83 AP_HAL_ChibiOS: add replacement IMU detection on CubeOrangePlus 2022-11-01 10:41:59 +11:00
bugobliterator 2a4921c139 AP_HAL_ChibiOS: add support for detecting IMU backends by order 2022-11-01 10:41:59 +11:00
Peter Barker 959982c053 AP_HAL_ChibiOS: rename parameter name BRD_SAFETYENABLE to BRD_SAFETY_DEFLT 2022-10-26 19:53:03 +11:00
Henry Wurzburg eee856b427 hwdef: limit to onboard BARO for low flash F4 boards 2022-10-25 10:33:24 +11:00
Andy Piper 35b138afb1 AP_HAL_ChibiOS: correctly default SERIAL7 to RCIN and SERIAL5 to ESC telem on MatekH743-bdshot 2022-10-25 10:18:57 +11:00
Andy Piper 7702e2ea99 AP_HAL_ChibiOS: support 8 bi-directional dshot channels on MatekH743 2022-10-25 10:18:57 +11:00
Peter Barker 6dba092c52 AP_HAL_ChibiOS: move defaulting of HAL_HIGH_LATENCY2_ENABLED to minimize_features.inc 2022-10-25 10:10:44 +11:00
alexklimaj e5cd25ff98 hwdef: ARKV6X 2022-10-24 07:27:11 +11:00
Andrew Tridgell 01a52a5427 hwdef: use minimal GPS driver (ublox only) on low flash boards
this buys us about 22k of flash
2022-10-19 21:07:22 +11:00
Tom Pittenger b3a4219b06 hwdef: added new f303-TempSensor based on mRo f303 kitcan 2022-10-18 10:05:31 +11:00
Henry Wurzburg 65a1b0cb56 AP_HAL_ChibiOS:add back displayport for KakuteF7
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-10-12 18:48:31 +11:00
bugobliterator 4d2b7bb7c9 AP_HAL_ChibiOS: add CubePilot CAN Module hwdef 2022-10-12 18:28:52 +11:00
bugobliterator a669b2ef3e AP_HAL_ChibiOS: fix typo in CubeOrangePlus hwdef 2022-10-12 18:28:52 +11:00
Tom Pittenger af56837752 AP_HAL_ChibiOS: add support for SLCAN to CubeOrange-periph, enabled by default 2022-10-11 11:26:40 +11:00
Tom Pittenger 9103140aa5 AP_HAL_Chibios: fix periph-heavy build hwdef 2022-10-11 11:20:50 +11:00
Henry Wurzburg 98551ff005 AP_HAL_ChibiOS: update defaults for KakuteH7 boards 2022-10-11 10:52:05 +11:00
Henry Wurzburg 1db7c92603 AP_HAL_ChibiOS:Add defaults for KakuteH7Mini-NAND 2022-10-11 10:52:05 +11:00
Peter Barker 93db267204 AP_HAL_ChibiOS: make emitting nice strings on aux functions a selectable feature 2022-10-11 10:23:19 +11:00
Peter Barker 3f98e3aacb hwdef: use an include file for boards requiring generic feature minimization 2022-10-11 10:23:19 +11:00
Andrew Tridgell fdff3d57ac hwdef: removed unused AP_FEATURE_BRD_PWM_COUNT_PARAM 2022-10-07 11:38:15 +11:00
Andrew Tridgell 861bd06034 hwdef: added warning messages about flash size 2022-10-06 10:58:46 +11:00
Andrew Tridgell 07f80c2442 HAL_ChibiOS: make check_limit_flash_1M() available in main firmware 2022-10-06 10:58:46 +11:00
Andrew Tridgell e5b46eb2a7 HAL_ChibiOS: fixed build error with gcc 11.3 2022-10-06 10:45:49 +11:00
Andrew Tridgell d919a7f8f4 hwdef: reduce flash usage to allow build 2022-10-06 10:31:51 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker 0bd08a4a82 AP_HAL_ChibiOS: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
Peter Barker 670a1dbdb1 hwdef: disable RPM on skyviper 2022-10-04 10:58:34 +11:00
Andrew Tridgell a14b77db74 hwdef: added MatekL431-GPS build
this sets up for DMA on GPS UARTs, disables unnecessary UARTs and SPI
and disables unnecessary sensor types

the changes make moving baseline GPS with two DroneCAN GPS modules on
MatekL431 much more reliable
2022-10-03 17:30:59 +11:00
Andrew Tridgell 805e194b0b hwdef: disable compass cal for herePro
it doesn't work as diagonals and offdiagonals not available
2022-09-30 21:25:36 +10:00
AerofoxTech 5ca31ac1a1 hwdef: add AeroFox PMU module hwdef 2022-09-29 15:15:36 +10:00
Andrew Tridgell 124f7846c8 hwdef: reduced memory usage on MatekF405-CAN board 2022-09-28 07:16:39 +10:00
Andy Piper a1960e7d07 AP_HAL_ChibiOS: make sure SkystarsH7HD has functioning VTX on Camera 1 by default 2022-09-27 09:29:43 +10:00
Andy Piper 64b31b3592 AP_HAL_ChibiOS: increase SPI clock for ICM42688 on CUAV-Nora
use regular speed for ICM42688 CS on Nora
2022-09-27 09:28:45 +10:00
Andy Piper 91eb72058a AP_HAL_ChibiOS: hwdef for bdshot version of CUAV Nora/Nora+ 2022-09-27 09:28:45 +10:00
bugobliterator 6e28839daa AP_HAL_ChibiOS: remove unused Here devices 2022-09-27 08:48:48 +10:00
Andy Piper e7b1bcbd75 AP_HAL_ChibiOS: put RX on UART1 on Skystars H7HD bdshot
make sure VTX has power on Skystars H7HD at boot
2022-09-26 08:00:04 +10:00
Andy Piper 63fb1a2540 AP_HAL_ChibiOS: hwdef for bdshot variant of SkystarsH7HD
Correct bootloader storage location for SkystarsH7HD
2022-09-26 08:00:04 +10:00
Andy Piper 4cfd1ee426 AP_HAL_ChibiOS: disable DMA on I2C on bdshot boards to free up DMA channels 2022-09-21 17:59:29 +10:00
Yuri 765cb4581c AP_HAL_ChibiOS: define skyviper short board names 2022-09-21 17:56:42 +10:00
Yuri 02e2061661 AP_HAL_ChibiOS: define CubeOrange-SimOnHardWare short board name 2022-09-21 17:56:42 +10:00
Yuri fd148dcc4a AP_HAL_ChibiOS: increase short board names to 23 chars 2022-09-21 17:56:42 +10:00
Kirill Shilov d48fc99c5f hwdef: AIRLink: USART2 enabled in hwdef 2022-09-21 06:58:48 +10:00
Andy Piper 15dd2e6062 AP_HAL_ChibiOS: bdshot variant of MatekL431 Periph node
setup bdshot defaults for MatekL431
2022-09-20 09:45:03 +10:00
Andy Piper 3c8d94304d AP_HAL_ChibiOS: allow bdshot to work on MCUs with DMAv1
remove magic value from DCR setup in bdshot
predicate FIFO usage on advanced DMA
2022-09-20 09:45:03 +10:00
Peter Barker 4cc1459e63 AP_HAL_ChibiOS: disable CanManager in hwdef.h for AP_Periph 2022-09-20 09:39:48 +10:00
Peter Barker 51e51bfe6f AP_HAL_ChibiOS: gate access filesystem singleton behind HAVE_FILESYSTEM_SUPPORT 2022-09-15 10:53:02 +10:00
Peter Barker 28a0336423 AP_HAL_ChibiOS: move defaulting of HAL_DSHOT_ALARM into hwdef 2022-09-15 09:18:04 +10:00
Andrew Tridgell 178e683e02 hwdef: rename board at request of vendor
there are multiple AtomRCF405 boards
2022-09-14 19:39:49 +10:00
Andrew Tridgell 8e102ecfcc hwdef: added CUAV_V6X default parameters 2022-09-14 18:04:46 +10:00
Iampete1 64d9413871 hwdef: Hitec-Airspeed: disable UART to save flash 2022-09-11 14:02:18 +10:00
Andrew Tridgell a0530a4816 hwdef: fixed FlyingmoonF427 servo rail voltage 2022-09-11 08:29:12 +10:00
Andrew Tridgell dd89d68107 hwdef: added AtomRC F405 board 2022-09-09 07:14:51 +10:00
Andy Piper d82ba1b7a3 AP_HAL_ChibiOS: use faster SPI clock for BMI270 on MambaH743 and KakuteH7v2 2022-09-06 09:31:21 +10:00
AerofoxTech b9b158216b hwdef: add AeroFox Airspeed periph 2022-09-05 12:36:11 +10:00
Andrew Tridgell f8b1169165 HAL_ChibiOS: rename ecc_raw to apsec_data 2022-09-05 12:35:37 +10:00
Andrew Tridgell f899a47429 HAL_ChibiOS: removed debug msg 2022-09-05 12:35:37 +10:00
Andrew Tridgell 30ed94c73c hwdef: disable UARTS in MatekL431 bootloader
this saves a lot of flash, and UARTs are not needed in the
bootloader. It means we can fit a bootloader with signing for ESC
based RemoteID support
2022-09-05 12:35:37 +10:00
Andrew Tridgell b74c9b5862 HAL_ChibiOS: protect against flashing bootloader without public keys 2022-09-05 12:35:37 +10:00
Andrew Tridgell d7710e5ccf HAL_ChibiOS: make it easy to debug secure boot on Nucleo-G491 2022-08-31 10:14:25 +10: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
Henry Wurzburg d420ba0edd HWDEF: correct default params file and readme for SPR H7 2022-08-30 10:27:25 +10:00
Andy Piper acb318fcab AP_HAL_ChibiOS: rename KakuteH7Miniv2 to kakuteH7Mini-Nand 2022-08-30 09:52:41 +10:00
bugobliterator c7ebd00ff9 AP_HAL_ChibiOS: disable RCIN and RCOUT threads on HiTec-Airspeed 2022-08-28 11:43:01 +10:00
Andy Piper 16b1a28cc9 AP_HAL_ChibiOS: bdshot version of MatekF405-Wing 2022-08-24 17:20:15 +10:00
Andrew Tridgell 9d1adae141 HAL_ChibiOS: fixed safety control with BRD_IO_ENABLE=0 2022-08-23 10:46:29 +10:00