Commit Graph

2905 Commits

Author SHA1 Message Date
Peter Barker e9fc99b1bf AP_HAL_ChibiOS: base HAL_USE_SPI on devices not buses
fixes compilation problem with gcc 10.3

../../libraries/AP_HAL_ChibiOS/SPIDevice.cpp: In static member function 'static void ChibiOS::SPIDeviceManager::__static_initialization_and_destruction_0(int, int)':
../../libraries/AP_HAL_ChibiOS/SPIDevice.cpp:76:18: error: statement has no effect [-Werror=unused-value]
   76 | ChibiOS::SPIDesc SPIDeviceManager::device_table[] = { HAL_SPI_DEVICE_LIST };
      |                  ^~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1plus: some warnings being treated as errors
2023-11-22 18:14:00 +11:00
Peter Barker 15e0f689c2 AP_HAL_ChibiOS: correct AP_Filter defines
- checking the build type is very rarely used and definitely not required here
 - fix boilerplate to conform to normal pattern of including the config header and #if'ing based on the _ENABLED directly after that
2023-11-21 21:13:42 +11:00
Andy Piper 229916a48c AP_HAL_ChibiOS: enable serial LEDs on ARK_CANNODE 2023-11-20 19:23:06 +11:00
Andy Piper 73610c8932 AP_HAL_ChibiOS: return success status from serial_led_send and set_serial_led_rgb_data 2023-11-20 19:22:20 +11:00
Andy Piper b7fd04318a AP_HAL_ChibiOS: fix race condition in sending serial LED data 2023-11-20 19:22:20 +11:00
Andrew Tridgell 2ba4bf1478 HAL_ChibiOS: allow for --disable-networking 2023-11-17 10:54:24 -08:00
Andrew Tridgell 6bf3debe73 HAL_ChibiOS: default disable ICE in periph 2023-11-17 13:09:02 +11:00
Tom Pittenger ac16f10ecd AP_HAL_ChibiOS: hwdef kha_eth to show SerialManager params 2023-11-16 10:58:50 -08:00
Jonathan Loong 16c55a3bc1 AP_HAL_ChibiOS: Add in CarbonixF405 QMC5883P compass enable 2023-11-15 10:53:38 +11:00
Jonathan Loong 8d64d5215e AP_Periph: CarbonixL496 crystal hwdef changes 2023-11-15 10:53:38 +11:00
Andy Piper 7639761d28 AP_HAL_ChibiOS: correct neopixel bitwidth
Use 64-bit timestamps for dshot send checks
2023-11-14 11:06:25 +11:00
Henry Wurzburg 4681e5fba6 hwdef:correct JFB110 defaults 2023-11-14 10:55:33 +11:00
Andrew Tridgell 2f9bfb648f HAL_ChibiOS: default RTS pins to PULLDOWN
this avoids issues with SiK and RFD900x radios getting stuck in
bootloader mode due to a high RTS pin on power on.

We did this for Pixhawk6C in this PR:
https://github.com/ArduPilot/ardupilot/pull/24169

this now applies it to all boards
2023-11-12 07:26:50 +11:00
Cedric0489 95dbb7a3f5 AP_HAL_ChibiOS: added PixPilot-C3 2023-11-10 17:14:18 +11:00
Henry Wurzburg ba76d4e2f9 hwdef:save flash on FlywooF405S-AIO 2023-11-09 12:49:13 +11:00
Andrew Tridgell 7b6ad15f90 hwdef: make f103-QiotekPeriph a single compass
dual compass periph is not supported
2023-11-08 18:34:41 +11:00
Peter Barker d2a3fed4a1 hwdef: AP_BATTERY_ESC_ENABLED needs HAL_WITH_ESC_TELEM 2023-11-08 18:05:55 +11:00
yjuav f7dd6dec96 hwdef: add YJUAV_A6SE_H743 board support 2023-11-07 10:31:20 +11:00
jfbblue0922 7d4d2f98bf AP_HAL_ChibiOS: corrected analog input pin number 2023-11-02 19:08:09 +11:00
bugobliterator 5bd5aa87a7 AP_HAL_ChibiOS: add CubeNode pinout diagram 2023-11-01 14:18:02 +00:00
Andy Piper 2bef8f2cad AP_HAL_ChibiOS: add support for SpeedyBeeF405v4 2023-11-01 19:25:19 +11:00
Andrew Tridgell cd3eab3c5d hwdef: support Holybro Pixhawk6X_Rev6 2023-10-31 10:42:25 +11:00
Andrew Tridgell 6173726846 HAL_ChibiOS: fail on badly formed SPIDEV line 2023-10-31 10:42:25 +11:00
Peter Barker 9dbd6f335a hwdef: minimize_features on mini-pix, not minimize_fpv_osd 2023-10-31 09:13:01 +11:00
Henry Wurzburg e474305c6d hwdef:free flash for space critical bds 2023-10-28 13:32:19 +11:00
Peter Barker f70a510c6b AP_HAL_ChibiOS: move AP_BOOTLOADER_FLASHING_ENABLED default to AP_HAL
.... need the defines on HALs other than ChibiOS
2023-10-27 14:16:47 +11:00
Peter Barker 90607ffa5f hwdef: remove payload place from minimized boards 2023-10-27 14:15:53 +11:00
Peter Barker ba72b7edfd hwdef: fix speedybeef4v3 build
double-definition
2023-10-26 18:15:30 +11:00
Peter Barker 8e5708b6f2 speedybeef4: remove redefinition of AP_BATTERY_SYNTHETIC_CURRENT_ENABLED 2023-10-26 18:15:30 +11:00
Peter Barker f5045384cf hwdef: correct ReaperF745 build 2023-10-26 18:15:30 +11:00
Peter Barker b757319245 hwdef: fix KakuteF4Mini build
redefinition
2023-10-26 18:15:30 +11:00
Peter Barker 38db3d8cbc hwdef: fix F35Lightning build
.... and remove redundantdefine
2023-10-26 18:15:30 +11:00
Andy Piper 9ba9553d96 AP_HAL_ChibiOS: NFC refactor of dshot/bdshot in preparation for bdshot on iomcu 2023-10-25 19:30:35 +11:00
Andy Piper fee43af729 AP_HAL_ChibiOS: enable highres sampling on CubeOrangePlus 2023-10-25 19:23:11 +11:00
Peter Barker b86c5b7eea hwdef: remove unused HAL_NO_LOGGING define from hwdefs 2023-10-25 19:17:18 +11:00
Peter Barker 28e89505fe hwdef: remove redundant HAL_GCS_ENABLED lines 2023-10-25 19:17:18 +11:00
Peter Barker 6152059843 hwdef: rearrange FlyingMoonH743 IMU order 2023-10-25 09:47:43 +11:00
Peter Barker 782b51b89b hwdef: rearrange FlyingMoonF427 IMU order 2023-10-25 09:47:43 +11:00
Tom Pittenger 4dc9d1ebc7 AP_HAL_ChibiOS: enable scripting on CubeOrange-periph-heavy 2023-10-23 22:44:35 -07:00
Henry Wurzburg 5c546dedcb hwdef:include minimal in minimize_common 2023-10-24 12:20:41 +11:00
Andy Piper 51793ef5ca hwdef: bugfixes for BETAFPV-F405 2023-10-24 11:44:54 +11:00
Martin Luessi 0970cb29c7 AP_HAL_ChibiOS: RADIX2HD Probe external I2C compasses 2023-10-24 10:44:57 +11:00
Martin Luessi 04564882fa AP_HAL_ChibiOS: Add UART7 to RADIX2HD target 2023-10-24 10:05:57 +11:00
Michael du Breuil 0739f0839f AP_HAL_ChibiOS: Add sw-spar-f407 periph target 2023-10-24 09:48:13 +11:00
bugobliterator fd319c6b2c AP_HAL_ChibiOS: fix setting APP_RAM size
also allows passing APP_RAM_START index through hwdef
2023-10-23 10:43:42 +11:00
Peter Barker 5b34a9bf13 hwdef: remove redundant MODE_TURTLE_ENABLED
this is defined later in the file
2023-10-19 20:53:28 +11:00
AerofoxTech 63f28b6720 hwdef: To adapt the rotation directionof the QMC5883L on new Aerofox-Airspeed-DLVR 2023-10-18 19:50:46 +11:00
AerofoxTech c0780a45c1 hwdef: Adapt the rotation direction of the QMC5883L 2023-10-18 19:50:10 +11:00
bugobliterator 1ae842e4ed AP_HAL_ChibiOS: add option to set HAL_SPI_SCK_SAVE_RESTORE 2023-10-18 19:25:19 +11:00
bugobliterator 6c13d7bee9 AP_HAL_ChibiOS: fix mode setting for ICM45686 on CubeOrangePlus 2023-10-18 19:25:19 +11:00