Commit Graph

2672 Commits

Author SHA1 Message Date
Mikhail Degtiarenko cc0b2ab3bb AP_HAL_ChibiOS: add SPL06 to MambaH743v4
The Diatone Mamba MK4 H743 v2 Flight Control have moved from the DPS280 barometer to using SPL06.

https://www.diatone.us/products/mamba-mk4-h743-v2-flight-control-30mm-m3l
2023-07-05 16:26:57 +10:00
Andrew Tridgell 0aab2f7974 HAL_ChibiOS: implement newlib alloc functions as malloc wrappers
this fixes issue #24106
2023-07-05 07:13:39 +10:00
Peter Barker d0b967097e AP_HAL_ChibiOS: process @include lines within hwdef files 2023-07-04 17:36:32 +10:00
Peter Barker 53e6f289e5 AP_HAL_ChibiOS: factor out a write_processed_defaults_file method 2023-07-04 17:36:32 +10:00
Peter Barker 26359204bd AP_HAL_ChibiOS: tidy defaults.parm handling 2023-07-04 17:36:32 +10:00
Andy Piper 810dfaf4f6 AP_HAL_ChibiOS: pull RTS lines low on Pixhawk6C to avoid glitches on startup 2023-07-04 11:13:26 +10:00
Peter Barker 257c684edf hwdef: update FlyingMoonF407 hwdef
changes from vendor
2023-07-04 10:25:19 +10:00
Peter Barker edb7a76b87 hwdef: add FlyingMoonH743 2023-07-04 10:04:55 +10:00
Martin Luessi 232fdd51da AP_HAL_ChibiOS: Added RADIX2HD 2023-07-04 09:36:10 +10:00
jfbblue0922 f990bb7374 AP_HAL_ChibiOS: jfb100 gets shorter EXT_WDOG_INTERVAL_MS 2023-06-29 19:30:14 +09:00
tiralonghipol c4b7bc9d8c AP_HAL_ChibiOS: add new board BlitzF745AIO 2023-06-28 17:23:19 +10:00
Andy Piper 539277ba2f AP_HAL_ChibiOS: Pixhawk6X bdshot version 2023-06-27 11:22:12 +10:00
Peter Barker 6e39565ce8 AP_HAL_ChibiOS: add and use AP_SCHEDULER_EXTENDED_TASKINFO_ENABLED 2023-06-27 10:43:39 +10:00
Andrew Tridgell 4219d498ec hwdef: set NRST_MODE on HolybroG4_GPS to fix reboot issue 2023-06-27 10:32:43 +10:00
Andrew Tridgell 54e2e33ee1 HAL_ChibiOS: allow hwdef to specify a NRST_MODE override
this allows the boot behaviour of a board to be changes to avoid a
reset issue
2023-06-27 10:32:43 +10:00
Andrew Tridgell 81e0685d33 HAL_ChibiOS: support recovery from a mutex deadlock
if we have a bug which causes a lock order deadlock locking up the
main thread then try a force release of the mutex to allow flight to
continue without a watchdog
2023-06-27 10:11:46 +10:00
Peter Barker 3869c4c0e9 AP_HAL_ChibiOS: add and use AP_SBUSOUTPUT_ENABLED
.... which will allow periphs to instantiate this if they really feel like it, and for it to be removed on smaller boards on the custom build server (and potentially on lower-specced boards.
2023-06-27 10:10:41 +10:00
Peter Barker 20e10dc401 hwdef: update FlyingMoonF427
vendor update
2023-06-27 09:38:48 +10:00
Andy Piper a7ad2dc940 AP_HAL_ChibiOS: use unsigned math as appropriate 2023-06-27 09:28:33 +10:00
Andy Piper 76b7566cd1 AP_HAL_ChibiOS: implement extended dshot telemetry (EDT) 2023-06-27 09:28:33 +10:00
Peter Barker 55227bc487 Tools: add and use AP_GPS_ENABLED 2023-06-21 22:28:48 +10:00
Peter Barker 3657852e30 AP_HAL_ChibiOS: add and use AP_BARO_ENABLED 2023-06-21 22:28:48 +10:00
Peter Barker b3c5889d7d AP_HAL_ChibiOS: add and use AP_COMPASS_ENABLED 2023-06-21 22:28:48 +10:00
Peter Barker e11384454f AP_HAL_ChibiOS: add and use AP_AHRS_ENABLED 2023-06-21 22:28:48 +10:00
Peter Barker 209cba7f89 AP_HAL_ChibiOS: create and use AP_BATTERY_ENABLED
simply as a way to get HAL_PERIPH_ENABLE_BATTERY out of the main code
2023-06-21 22:28:48 +10:00
Andrew Tridgell f138824449 HAL_ChibiOS: make clock asserts show the incorrect value
this makes it easier to debug clock checking issues
2023-06-20 18:56:13 +10:00
Andrew Tridgell 409d3fdc9d hwdef: removed unused lines for luminousbee5 2023-06-20 18:56:13 +10:00
Andrew Tridgell ddb991d9b5 HAL_ChibiOS: fixed 24mhz crystal on H7 with 480MHz clock
need to adjust the PLLQ as well as the PLLN
2023-06-20 18:56:13 +10:00
Andrew Tridgell 1055c5f1c6 waf: fixed dependency of ChibiOS build on compiler flags
this adds a chibios_flags.h which contains the flags we pass to the
ChibiOS make, which allows us to have a make level dependency on the
flags

this fixes (among other things) the build of copter followed by
bootloader for SPRacingH7
2023-06-20 18:08:31 +10:00
Peter Barker 916379b1b9 hwdef: remove bootloader flashing on ReaperF745 and FlywooF745 2023-06-20 15:34:19 +10:00
Peter Barker 400dd851a6 hwdef: remove fuelflow lines from ReaperF745 hwdef
these are already removed because it's a 1M board
2023-06-20 15:34:19 +10:00
Peter Barker 3de811ed0a hwdef: sort save_some_flash.inc (NFC) 2023-06-20 15:34:19 +10:00
Peter Barker 45e336dfcf hwdef: save_some_flash.inc on revo-mini-i2c-bdshot 2023-06-20 15:34:19 +10:00
Peter Barker c18b65a68e hwdef: no bootloader update on MambaF405v2 2023-06-20 15:34:19 +10:00
Peter Barker 5800e9d785 AP_HAL_ChibiOS: heavy periphs get servos and relays 2023-06-20 09:36:39 +10:00
Peter Barker 2932dea4ff AP_HAL_ChibiOS: add option to disable relay and servorelay libraries 2023-06-20 09:36:39 +10:00
Henry Wurzburg 15ba495f78 AP_HAL_ChibiOS: add Holybro KakuteH7-Wing 2023-06-20 09:09:12 +10:00
bugobliterator 04b7c7e4ee AP_HAL_ChibiOS: remove Chip ID as Basic ID mechanism 2023-06-17 14:49:22 +10:00
bugobliterator 6b88ed007d AP_HAL_ChibiOS: explain DID_OPTIONS config in CubeOrange-ODID/defaults.parm 2023-06-17 14:49:22 +10:00
bugobliterator 65cbd87228 AP_HAL_ChibiOS: add support for get_persistent_param_by_name 2023-06-17 14:49:22 +10:00
bugobliterator 0850ea6b61 AP_HAL_ChibiOS: add support for storing OpenDroneID in bootloader sector 2023-06-17 14:49:22 +10:00
Peter Barker 42e0d85ac9 hwdef: SkyViper doesn't have two batteries; remove code based on that 2023-06-17 11:27:46 +10:00
Andrew Tridgell 5afabf7bfb HAL_CbibiOS: get crash dump info for main thread lockups 2023-06-17 11:24:56 +10:00
Peter Barker 9a24a3f61d AP_HAL_ChibiOS: allow CrashCatcher to be disabled via hwdef 2023-06-14 18:39:11 +10:00
Peter Barker 8e0a879122 AP_HAL_ChibiOS: use minimize.inc for HAL_MSP_ENABLED and dependencies 2023-06-14 17:44:13 +10:00
jfbblue0922 f1fadbf84f AP_HAL_CHibiOS: JFB100 hwdef fix for ext watchdog 2023-06-14 17:13:10 +10:00
jfbblue0922 2f05624545 AP_HAL_ChibiOS: support external watchdog gpio
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>

optional support to toggle GPIO pin at 10hz
2023-06-14 17:13:10 +10:00
Andrew Tridgell 514434193d hwdef: save flash on several boards with DFU
omit bootloader on boards with DFU and low on flash
2023-06-12 12:42:45 +10:00
Andrew Tridgell 3c0a9af505 hwdef: added no_bootloader_DFU.inc 2023-06-12 12:42:45 +10:00
Peter Barker 3aaeb0f29c AP_HAL_ChibiOS: allow AP_SCRIPTING_ENABLED to come from hwdef files 2023-06-09 16:10:52 +10:00