Andrew Tridgell
f471732aad
HAL_ChibiOS: enable SO_REUSEADDR
2023-11-28 12:18:55 +11:00
Andrew Tridgell
0659ab8ef4
HAL_ChibiOS: increase max TCP resources
2023-11-28 12:18:55 +11:00
Henry Wurzburg
d9d5e91110
hwdef: update SDH7V1 readme
2023-11-28 11:47:32 +11:00
daniel.li
e6b7daa323
AP_HAL_ChibiOS: Add Aocoda-RC-H743Dual target
2023-11-28 10:29:23 +11:00
Thomas Watson
87fef1ae5d
AP_HAL_ChibiOS: use get_HAL_mutable() to install new CAN interfaces
...
Avoids dubious extern redefinition.
2023-11-28 08:24:25 +11:00
Thomas Watson
a9ddadee3b
AP_HAL_ChibiOS: introduce get_HAL_mutable() to complement get_HAL()
...
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Tom Pittenger
1f7b4d0938
AP_HAL_ChibiOS: set AP_BATTERY_WATT_MAX_ENABLED 0 for minimize
2023-11-26 11:57:14 +11:00
Tom Pittenger
cd6a656acf
AP_HAL_ChibiOS: set AP_BATTERY_WATT_MAX_ENABLED 0 for periph
2023-11-26 11:57:14 +11:00
Peter Barker
27f836b66e
hwdef: correct ARK_CANNODE compilation
...
this was turning SPI on when there aren't any devices...
2023-11-25 13:47:13 -08:00
alexklimaj
ddba794420
hwdef: ark_rtk_gps fix safety led
2023-11-25 13:45:56 -08:00
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