Commit Graph
3957 Commits
Author SHA1 Message Date
Jacob Dahl 565fa806ff hwdef: ARK_FPV: expose 12V POWER AUX output as a relay
The 12V output on the POWER AUX connector is gated by a BEC enable on
PG4. It was driven on at boot with no way to control it, and the enable
was mislabeled VDD_5V_PERIPH_EN even though it drives the 12V rail, not
5V.

Rename it to VDD_12V_PERIPH_EN, give it a GPIO, and pre-map it to RELAY1
via RELAY1_PIN_DEFAULT so it can be switched from an RC channel
(RELAY1_FUNCTION + RCx_OPTION). Default behavior is unchanged: the rail
is still on at boot via the pin's OUTPUT HIGH state.
2026-06-01 20:30:05 +01:00
Peter Barker 4044f26a5b hwdef: AIRBRAINH743 use LIS2MDL alias 2026-06-01 17:05:32 +10:00
Peter Barker 8376a35bb0 hwdef: AIRBRAINH743: replace AP_COMPASS_LIS2MDL_EXTERNAL_BUS_PROBING_ENABLED with IIS2MDC equivalent 2026-06-01 17:05:32 +10:00
Jacob Dahl 4553118d9c AP_HAL_ChibiOS: remove LIS2MDL driver, use IIS2MDC
LIS2MDL and IIS2MDC are the same ST silicon with identical register
maps, WHO_AM_I, I2C address and sensitivity. Remove the separate
LIS2MDL driver entirely and switch boards that referenced it to IIS2MDC.

AIRBRAINH743 COMPASS line changed from LIS2MDL to IIS2MDC.
2026-06-01 17:05:32 +10:00
Sharanie0612 38879f79ee AP_HAL_ChibiOS: Add new baro for ZeroOneX6 series V2 2026-06-01 11:13:30 +10:00
Andy Piper 8175f9fdc7 hwdef: SBUS inversion pin polarity on MambaF405v2 was inverted
Macos Build / build (CubeOrange) (push) Has been cancelled
Macos Build / build (sitl) (push) Has been cancelled
test ccache / build (10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-ODID, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-PPP, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (CubeRedPrimary-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (MatekF405-Wing, 10, chibios) (push) Has been cancelled
test chibios / build (Pixhawk6X-PPPGW, 10, chibios) (push) Has been cancelled
test chibios / build (SOHW, 10, chibios) (push) Has been cancelled
test chibios / build (build-options-defaults-test, 10, chibios) (push) Has been cancelled
test chibios / build (configure-all, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv2-plane, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv3, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv3-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (iofirmware, 10, chibios) (push) Has been cancelled
test chibios / build (new-check, 10, chibios) (push) Has been cancelled
test chibios / build (periph-build, 10, chibios) (push) Has been cancelled
test chibios / build (revo-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (revo-mini, 10, chibios) (push) Has been cancelled
test chibios / build (signing, 10, chibios) (push) Has been cancelled
test chibios / build (stm32f7, 10, chibios) (push) Has been cancelled
test chibios / build (stm32h7, 10, chibios) (push) Has been cancelled
test chibios / build (stm32h7-debug, 10, chibios) (push) Has been cancelled
test dds / build (sitl) (push) Has been cancelled
test scripts / build (astyle-cleanliness) (push) Has been cancelled
test scripts / build (check_autotest_options) (push) Has been cancelled
test scripts / build (logger_metadata) (push) Has been cancelled
test scripts / build (param-file-validation) (push) Has been cancelled
test scripts / build (param_parse) (push) Has been cancelled
test scripts / build (shellcheck) (push) Has been cancelled
test scripts / build (validate_board_list) (push) Has been cancelled
colcon build/test / build-test (push) Has been cancelled
pre-commit / ci (push) Has been cancelled
test chibios / build (CubeOrange-EKF2, 10, chibios) (push) Has been cancelled
test dds / build (stm32h7) (push) Has been cancelled
test scripts / build (python-cleanliness) (push) Has been cancelled
2026-05-28 10:03:02 +01:00
Jacob Dahl c979b1c8d9 hwdef: ARKV6X: correct nVDD_5V_HIPOWER_EN pin in bootloader
Cygwin Build / build (push) Has been cancelled
ESP32 Build / build (esp32buzz, 10) (push) Has been cancelled
ESP32 Build / build (esp32s3empty, 10) (push) Has been cancelled
Macos Build / build (CubeOrange) (push) Has been cancelled
Macos Build / build (sitl) (push) Has been cancelled
QURT Build / build (push) Has been cancelled
test ccache / build (10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-ODID, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-PPP, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (CubeRedPrimary-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (Pixhawk6X-PPPGW, 10, chibios) (push) Has been cancelled
test chibios / build (SOHW, 10, chibios) (push) Has been cancelled
test chibios / build (build-options-defaults-test, 10, chibios) (push) Has been cancelled
test chibios / build (configure-all, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv2-plane, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv3, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv3-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (iofirmware, 10, chibios) (push) Has been cancelled
test chibios / build (new-check, 10, chibios) (push) Has been cancelled
test chibios / build (periph-build, 10, chibios) (push) Has been cancelled
test chibios / build (revo-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (revo-mini, 10, chibios) (push) Has been cancelled
test chibios / build (signing, 10, chibios) (push) Has been cancelled
test chibios / build (stm32f7, 10, chibios) (push) Has been cancelled
test chibios / build (stm32h7, 10, chibios) (push) Has been cancelled
test chibios / build (stm32h7-debug, 10, chibios) (push) Has been cancelled
test dds / build (sitl) (push) Has been cancelled
test Linux SBC / build (bbbmini, armhf) (push) Has been cancelled
test Linux SBC / build (bebop, armhf) (push) Has been cancelled
test Linux SBC / build (bhat, armhf) (push) Has been cancelled
test Linux SBC / build (canzero, armhf) (push) Has been cancelled
test Linux SBC / build (linux, base) (push) Has been cancelled
test Linux SBC / build (navigator, armhf-musl) (push) Has been cancelled
test Linux SBC / build (navigator64, aarch64) (push) Has been cancelled
test Linux SBC / build (navio, armhf) (push) Has been cancelled
test Linux SBC / build (navio2, armhf) (push) Has been cancelled
test Linux SBC / build (pxfmini, armhf) (push) Has been cancelled
test Linux SBC / build (t3-gem-o1, aarch64) (push) Has been cancelled
test replay / build (replay, base) (push) Has been cancelled
test replay / build (replay, clang) (push) Has been cancelled
test scripts / build (astyle-cleanliness) (push) Has been cancelled
test scripts / build (check_autotest_options) (push) Has been cancelled
test scripts / build (logger_metadata) (push) Has been cancelled
test scripts / build (param-file-validation) (push) Has been cancelled
test scripts / build (param_parse) (push) Has been cancelled
test scripts / build (shellcheck) (push) Has been cancelled
test scripts / build (validate_board_list) (push) Has been cancelled
test blimp / build (base) (push) Has been cancelled
test blimp / build (clang) (push) Has been cancelled
test blimp / autotest (sitltest-blimp) (push) Has been cancelled
test copter / build (base) (push) Has been cancelled
test copter / build (clang) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1a) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1b) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1c) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1d) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1e) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests2b) (push) Has been cancelled
test copter / build-gcc-heli (push) Has been cancelled
test copter / autotest-heli (sitltest-heli) (push) Has been cancelled
test ap_periph / build-gcc-ap_periph (push) Has been cancelled
test ap_periph / autotest-can (sitltest-can) (push) Has been cancelled
test plane / build (clang) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1a) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1b) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1c) (push) Has been cancelled
test plane / autotest (sitltest-quadplane) (push) Has been cancelled
test rover / build (base) (push) Has been cancelled
test rover / autotest (sitltest-balancebot) (push) Has been cancelled
test rover / autotest (sitltest-rover) (push) Has been cancelled
test rover / autotest (sitltest-sailboat) (push) Has been cancelled
test sub / build (base) (push) Has been cancelled
test sub / build (clang) (push) Has been cancelled
test sub / autotest (sitltest-sub) (push) Has been cancelled
test tracker / build (clang) (push) Has been cancelled
test tracker / autotest (sitltest-tracker) (push) Has been cancelled
test unit tests and sitl building / build (examples, base) (push) Has been cancelled
test unit tests and sitl building / build (examples, clang) (push) Has been cancelled
test unit tests and sitl building / build (sitl, base) (push) Has been cancelled
test unit tests and sitl building / build (sitl, clang) (push) Has been cancelled
test unit tests and sitl building / build (unit-tests, base) (push) Has been cancelled
test unit tests and sitl building / build (unit-tests, clang) (push) Has been cancelled
test scripting / test-scripting (push) Has been cancelled
colcon build/test / build-test (push) Has been cancelled
pre-commit / ci (push) Has been cancelled
test chibios / build (CubeOrange-EKF2, 10, chibios) (push) Has been cancelled
test chibios / build (MatekF405-Wing, 10, chibios) (push) Has been cancelled
test dds / build (stm32h7) (push) Has been cancelled
test Linux SBC / build (erlebrain2, armhf) (push) Has been cancelled
test Linux SBC / build (pxf, armhf) (push) Has been cancelled
test scripts / build (python-cleanliness) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests2a) (push) Has been cancelled
test plane / build (base) (push) Has been cancelled
test rover / build (clang) (push) Has been cancelled
test tracker / build (base) (push) Has been cancelled
PF12 is the SCALED_VDD_3V3_SENSORS4 ADC input per the schematic; the
actual VDD_5V_HIPOWER_nEN line is on PG10, which is what the
application hwdef already uses. The bootloader was driving the wrong
pin and never asserting HIPOWER during boot.
2026-05-26 13:41:07 +01:00
Jacob Dahl e7c8e54626 hwdef: ARKV6X: enable high-resolution IMU sampling
All three IMU candidates on the ARKV6X — IIM-42652, ICM-42688, and
IIM-42653 — support 19-bit high-resolution FIFO sampling on the
Invensensev3 driver. Enable it for all three instances.
2026-05-26 13:40:10 +01:00
Jacob Dahl eec0e04399 hwdef: ARKV6X-bdshot: extend BIDIR to TIM4 and lock motor DMA
The original bdshot variant only enabled BIDIR on TIM5 channels (PWM
1-4), leaving PWM 5-6 on TIM4 as plain DShot without telemetry. Mirror
the Pixhawk6X-bdshot pattern by enabling BIDIR on TIM4_CH2 and
TIM4_CH3 as well.

Add DMA_NOSHARE TIM5* TIM4* so motor output DMA streams cannot be
preempted by other peripherals — the parent ARKV6X DMA_PRIORITY places
TIM* last, which can starve bdshot under load.
2026-05-26 13:39:35 +01:00
Peter Barker 6f398898d4 hwdef: tidy BOARD_TYPE_DEFAULT settings 2026-05-26 22:31:26 +10:00
Josh Henderson 62a7048c11 hwdef: ARK_CANNODE add compass probing, ARK_DAN support, correct GPS port default 2026-05-24 19:44:57 +01:00
Andrew Tridgell 24c018e100 hwdef: removed special case for CubePilot boards for X20P
now enabled for all 2M boards
2026-05-23 09:08:13 +10:00
Andy Piper 38a0497dfd AP_HAL_ChibiOS: correct I2C IRQs for STM32L4+
Cygwin Build / build (push) Has been cancelled
ESP32 Build / build (esp32buzz, 10) (push) Has been cancelled
ESP32 Build / build (esp32s3empty, 10) (push) Has been cancelled
Macos Build / build (CubeOrange) (push) Has been cancelled
Macos Build / build (sitl) (push) Has been cancelled
QURT Build / build (push) Has been cancelled
test ccache / build (10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-ODID, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-PPP, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (CubeRedPrimary-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (MatekF405-Wing, 10, chibios) (push) Has been cancelled
test chibios / build (Pixhawk6X-PPPGW, 10, chibios) (push) Has been cancelled
test chibios / build (SOHW, 10, chibios) (push) Has been cancelled
test chibios / build (build-options-defaults-test, 10, chibios) (push) Has been cancelled
test chibios / build (configure-all, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv2-plane, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv3, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv3-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (iofirmware, 10, chibios) (push) Has been cancelled
test chibios / build (new-check, 10, chibios) (push) Has been cancelled
test chibios / build (periph-build, 10, chibios) (push) Has been cancelled
test chibios / build (revo-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (revo-mini, 10, chibios) (push) Has been cancelled
test chibios / build (signing, 10, chibios) (push) Has been cancelled
test chibios / build (stm32f7, 10, chibios) (push) Has been cancelled
test chibios / build (stm32h7, 10, chibios) (push) Has been cancelled
test chibios / build (stm32h7-debug, 10, chibios) (push) Has been cancelled
test dds / build (sitl) (push) Has been cancelled
test Linux SBC / build (bbbmini, armhf) (push) Has been cancelled
test Linux SBC / build (bebop, armhf) (push) Has been cancelled
test Linux SBC / build (bhat, armhf) (push) Has been cancelled
test Linux SBC / build (canzero, armhf) (push) Has been cancelled
test Linux SBC / build (navigator, armhf-musl) (push) Has been cancelled
test Linux SBC / build (navigator64, aarch64) (push) Has been cancelled
test Linux SBC / build (navio, armhf) (push) Has been cancelled
test Linux SBC / build (navio2, armhf) (push) Has been cancelled
test Linux SBC / build (pxfmini, armhf) (push) Has been cancelled
test Linux SBC / build (t3-gem-o1, aarch64) (push) Has been cancelled
test replay / build (replay, base) (push) Has been cancelled
test replay / build (replay, clang) (push) Has been cancelled
test scripts / build (astyle-cleanliness) (push) Has been cancelled
test scripts / build (check_autotest_options) (push) Has been cancelled
test scripts / build (logger_metadata) (push) Has been cancelled
test scripts / build (param-file-validation) (push) Has been cancelled
test scripts / build (param_parse) (push) Has been cancelled
test scripts / build (shellcheck) (push) Has been cancelled
test scripts / build (validate_board_list) (push) Has been cancelled
test blimp / build (base) (push) Has been cancelled
test blimp / build (clang) (push) Has been cancelled
test copter / build (base) (push) Has been cancelled
test copter / build (clang) (push) Has been cancelled
test copter / build-gcc-heli (push) Has been cancelled
test ap_periph / build-gcc-ap_periph (push) Has been cancelled
test plane / build (clang) (push) Has been cancelled
test rover / build (base) (push) Has been cancelled
test sub / build (base) (push) Has been cancelled
test sub / build (clang) (push) Has been cancelled
test tracker / build (clang) (push) Has been cancelled
test unit tests and sitl building / build (examples, base) (push) Has been cancelled
test unit tests and sitl building / build (examples, clang) (push) Has been cancelled
test unit tests and sitl building / build (sitl, base) (push) Has been cancelled
test unit tests and sitl building / build (sitl, clang) (push) Has been cancelled
test unit tests and sitl building / build (unit-tests, base) (push) Has been cancelled
test unit tests and sitl building / build (unit-tests, clang) (push) Has been cancelled
test blimp / autotest (sitltest-blimp) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1a) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1b) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1c) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1d) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1e) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests2b) (push) Has been cancelled
test copter / autotest-heli (sitltest-heli) (push) Has been cancelled
test ap_periph / autotest-can (sitltest-can) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1a) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1b) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1c) (push) Has been cancelled
test plane / autotest (sitltest-quadplane) (push) Has been cancelled
test rover / autotest (sitltest-balancebot) (push) Has been cancelled
test rover / autotest (sitltest-rover) (push) Has been cancelled
test rover / autotest (sitltest-sailboat) (push) Has been cancelled
test sub / autotest (sitltest-sub) (push) Has been cancelled
test tracker / autotest (sitltest-tracker) (push) Has been cancelled
test Linux SBC / build (linux, base) (push) Has been cancelled
colcon build/test / build-test (push) Has been cancelled
pre-commit / ci (push) Has been cancelled
test chibios / build (CubeOrange-EKF2, 10, chibios) (push) Has been cancelled
test dds / build (stm32h7) (push) Has been cancelled
test Linux SBC / build (erlebrain2, armhf) (push) Has been cancelled
test Linux SBC / build (pxf, armhf) (push) Has been cancelled
test scripts / build (python-cleanliness) (push) Has been cancelled
test plane / build (base) (push) Has been cancelled
test rover / build (clang) (push) Has been cancelled
test tracker / build (base) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests2a) (push) Has been cancelled
Rename STM32_I2C_I2Cn_IRQ_PRIORITY to STM32_IRQ_I2Cn_PRIORITY to
match the naming used by the kernel v9 I2Cv4 driver, mirroring
the same rename already applied to stm32g4_mcuconf.h.
2026-05-22 16:46:21 +10:00
Andy Piper abffee1520 AP_HAL_ChibiOS: support I2Cv4 single DMA channel
The ChibiOS I2Cv4 LLD (used on STM32G0/G4/C0/U0/U3/H5/L4+) uses a
single DMA channel per I2C peripheral, shared between TX and RX,
configured via STM32_I2C_I2Cx_DMA_CHANNEL. The previous code
emitted the separate STM32_I2C_I2Cx_RX/TX_DMA_STREAM defines used
by I2Cv2/I2Cv3, which no longer satisfy the I2Cv4 driver.

Detect I2Cv4 MCUs from CHIBIOS_PLATFORM_MK, allocate a single DMA
channel per I2C peripheral in dma_resolver.py (no _RX/_TX split),
and generate HAL_I2Cn_CONFIG entries that feed the single channel
into the shared DMA slot with SHARED_DMA_NONE as the partner.

Also replace the unconditional STM32_I2C_USE_I2Cn TRUE lines in
stm32g4_mcuconf.h with #ifndef-guarded defaults to FALSE, so
boards only enable the I2C peripherals their hwdef actually uses.
Without this, the I2Cv4 driver demanded DMA channels for every
I2C peripheral on every G4 board regardless of pin usage.
2026-05-22 16:46:21 +10:00
Andy Piper 64913139b8 AP_HAL_ChibiOS: use correct PLLSAI values for F469 2026-05-22 16:46:21 +10:00
Andy Piper bb0b1f69bf hwdef: correct I2C IRQs for STM32G4 2026-05-22 16:46:21 +10:00
Andy Piper 2c064ba915 AP_HAL_ChibiOS: fixes for ChibiOS kernel v9 2026-05-22 16:46:21 +10:00
lixiaowei e4a374b619 AP_HAL_ChibiOS: add SkyDroid-S3 2026-05-21 10:02:13 +10:00
Brown 428a0853a6 hwdef: Pixhawk6C: add RM3100 compass
Declare the internal RM3100 compass with its board-specific
rotation and disable the generic RM3100 internal probe.
2026-05-20 18:45:48 +10:00
Andrew TridgellandClaude Opus 4.7 dc540c2a51 AP_HAL: hwdef: move ROMFS parsing into base class
The ROMFS / ROMFS_WILDCARD / ROMFS_DIRECTORY hwdef keywords were
previously only understood by the ChibiOS hwdef parser, which has
duplicated implementations of romfs_add / romfs_wildcard / romfs_add_dir
and a write_ROMFS step that publishes env_vars['ROMFS_FILES']. Lift
all of that into the base HWDef class so any HAL with a hwdef parser
(SITL, future HALs) gets ROMFS handling for free.

  - Base hwdef.py owns self.romfs, the romfs_*() methods, the
    ROMFS / ROMFS_WILDCARD / ROMFS_DIRECTORY process_line cases,
    the undef ROMFS handler, and write_ROMFS(); base run() calls
    write_ROMFS() at the end so subclasses that don't override run()
    publish ROMFS automatically.
  - ChibiOS keeps a thin romfs_add_dir() override solely for its
    bootloader-build no-op guard; everything else is inherited.

No behaviour change for ChibiOS boards.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 17:08:34 +10:00
Thomas Watson f4ae5d7901 AP_HAL_ChibiOS: drop CAN log message calls
The infrastructure for these has been continually buggy and rarely used.

Delete calls in preparation for ripping it out entirely.
2026-05-18 20:58:47 -05:00
dakefpv a4d4ec063d hwdef: Fix the RELAY of DAKEFPV
The REALY of F405, H743, H743Pro, and H743_SLIM defaults to high-level output.
2026-05-14 08:23:36 +01:00
Peter Barker 472a668643 hwdef: regularise markdown headings
consistent headings across markdown files will allow us to make wide-spread mechanical changes to these as desired
2026-05-07 13:30:03 +10:00
Peter Barker 13b5743446 AP_HAL_ChibiOS: add #error to stop regressions in hwdef files
old bad configurations being removed, stop them coming back
2026-05-07 09:09:48 +10:00
Peter Barker b27068bf5c hwdef: disable RCIN thread on boards that don't include AP_RCPROTOCOL_ENABLED
we don't do anything interesting in the thread unless you have the library enabled, so we can keep these resources!
2026-05-07 09:09:48 +10:00
Peter Barker 52a9da1586 hwdef: stop enabling HAL_RCIN_THREAD_ENABLED by default for MatekL431
this was for backwards compatability
2026-05-07 09:09:48 +10:00
Peter Barker 16267741ad AP_HAL_ChibiOS: prevent normal boards from using AP_PERIPH_* defines 2026-05-06 17:48:58 +10:00
Andrew Tridgell 4719b95197 HAL_ChibiOS: fixed chopped pulses on safety enable
when safety is enabled (especially on IOMCU) we would get a last
chopped pulse, leading to servos going to extremes, or for reversible
ESCs we could end up with a propeller running at high speed

there were two bugs:

 - we were using the current outputs max pulse width for the delay in
   trigger_groups() when it should be the previous max width (as that
   is the active one)

 - we should not be doing a new trigger for oneshot for zero pulses,
   it will naturally happen when the pulse ends
2026-05-06 14:13:13 +10:00
Peter Barker fddfee0fe1 hwdef: Aeromind6X: replace html markup with markdown 2026-05-03 15:32:03 +10:00
Peter Barker 8530bf14d1 hwdef: remove redundant 'env OPTIMIZE -Os' from hwdef files 2026-05-01 20:17:51 +10:00
Henry Wurzburg 02c7fcbff1 AP_HAL_ChibiOS: improve md file readability 2026-04-24 08:36:06 +10:00
PilotGaea2001 0834aacee7 hwdef: update PilotGaeaSH7V1-bdshot definitions and add default params 2026-04-21 09:59:02 +10:00
PilotGaea2001 40e9721574 HAL_ChibiOS: add support for PilotGaeaSH7V1-bdshot 2026-04-21 09:59:02 +10:00
Peter Barker 04655ca8ea AP_HAL_ChibiOS: correct spelling errors in markdown files 2026-04-20 19:25:51 +10:00
Peter Barker a21b222f8d AP_HAL_ChibiOS: correct some rst-ish-looking links to be markdown links
these only superfically look like rst - not enough to trigger out sanity checks
2026-04-20 19:25:51 +10:00
Peter Barker f99598d1c3 AP_HAL_ChibiOS: correct URLs in markdown files 2026-04-20 19:25:51 +10:00
Peter Barker 8c06fe8ca2 AP_HAL_ChibiOS: correct spelling errors in markdown files 2026-04-19 10:26:15 +10:00
Peter Barker e5416f1f97 hwdef: correct invalid link to parameter in BOTWINGF405 README.md
this was simply invalid - make it a link to the Wiki parameter page
2026-04-18 21:29:44 +10:00
Peter BarkerandClaude Sonnet 4.6 b6720ccad1 hwdef: convert :ref: parameter cross-references to markdown links
Replace RST :ref: cross-references to ArduPilot parameters with proper
markdown links to https://ardupilot.org/copter/docs/parameters.html.
Anchors verified by downloading the parameters page.

Also fix a SERIAL11_PROTOCOL typo in JHEMCUF405WING (should be
SERIAL1_PROTOCOL) and a bare :ref:common-FPort-receivers ref in
CORVON405V2_1.

Also fix two incorrect parameter names carried over from the original RST:
- BATT1_MONITOR → BATT_MONITOR (BATT1_MONITOR does not exist)
- RSSI_PIN → RSSI_ANA_PIN (RSSI_PIN does not exist; renamed parameter)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 21:29:44 +10:00
Peter BarkerandClaude Sonnet 4.6 784412228b hwdef: fix typo and broken URL in doc links
Fix firmare.ardupilot.org → firmware.ardupilot.org (typo) in HWH7 and
MicoAir743-Lite. Fix common-limited_firmware → common-limited-firmware
(underscore vs hyphen) in ATOMRCF405NAVI-Deluxe.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 08:08:51 +10:00
Peter BarkerandClaude Sonnet 4.6 6c6dc6300b hwdef: convert RST cross-references to markdown links
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 08:08:51 +10:00
Peter Barker 655175995c hwdef: correct BATT2_MONIOTOR -> BATT2_MONITOR
also remove "Set" as this is in a list of things to set
2026-04-16 14:43:41 +10:00
Peter BarkerandClaude Sonnet 4.6 613905c517 hwdef: convert RST external hyperlinks to markdown syntax
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 10:27:47 +10:00
Peter BarkerandClaude Sonnet 4.6 a96a321a4e hwdef: skyviper-v2450: remove IOMCU firmware and USART6 pins
SkyViper has no IO MCU. Remove the embedded IOMCU firmware from ROMFS
(saves ~29 KB of flash), the USART6 pin definitions that were only
present as the IOMCU UART, and the USART6 DMA_NOSHARE/DMA_PRIORITY
entries that were carried over from fmuv3.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 18:18:14 +10:00
Peter BarkerandClaude Sonnet 4.6 021f3ad283 hwdef: PrincipIoTH7Pi: convert RST underline headings to ATX style
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 15:42:48 +10:00
Peter Barker 994ffc5030 hwdef: JPilot-C: remove stale/unused define
this was renamed - it's also the default, so we don't need to set it here
2026-04-14 14:17:31 +10:00
Peter Barker 784c53e0c9 hwdef: remove bad/unused defines
these never existed.
2026-04-14 14:17:31 +10:00
Norihiko Itou f849f36b40 hwdef: add ADC2 and ADC3 map to scripts of STM32H755xx 2026-04-14 09:40:21 +10:00
Peter Barker 40529b9dfd hwdef: add BMP581 as Barometer option on Pixhawk6X 2026-04-13 20:40:30 +10:00
Peter Barker 502296d48b hwdef: avoid use of 'note' and 'raw' rst directives
we do markdown in these files, not rst!
2026-04-13 10:07:07 +10:00