Commit Graph
3935 Commits
Author SHA1 Message Date
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
Peter Barker cf649450ec hwdef: YARIV6X: remove HAL_PERIPH_ENABLE_NETWORKING
not a periph board, this has no effect
2026-04-13 10:04:03 +10:00
seguall_4 de03a7f309 hwdef: allow ZeroOneX6 and ZeroOneX6_Air to use bmm350 internal compasses 2026-04-12 14:52:45 +10:00
Peter Barker f36149a5b2 hwdef: SkyRukh_Surge_H7: remove stale HAL_GPIO_LED_ON define
this doesn't have any effect.

On the assumption that the hardware is tested and working presumably these devices actually use the default 0-is-on semantics
2026-04-12 14:51:53 +10:00
cuav-chen2 4e6c3fd4e0 hwdef: update CUAV-V6X-v2 hwdef and doc 2026-04-10 13:19:53 +10:00
Ethan Huang 9d6d875e36 AP_HAL_ChibiOS: add SparkNavi Blue 2026-04-08 17:40:19 +01:00
Lukas Severinghaus 2c9c06e748 hwdef: PrincipIoTH7Pi 2026-04-08 17:39:51 +01:00
Huibean d35325afc7 AP_HAL_ChibiOS: fix DMA buffer allocation for SDMMC1 with USE_ALT_RAM_MAP 2026-04-08 17:33:09 +10:00
Peter BarkerandClaude Sonnet 4.6 fa5a327064 hwdef: skyviper-v2450: remove AP_BATTERY_SMBUS_SOLO_ENABLED undef/define
AP_BATTERY_BACKEND_DEFAULT_ENABLED is 0 and only AP_BATTERY_ANALOG_ENABLED
is set, so AP_BATTERY_SMBUS_ENABLED is never true and this override has
no effect.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 17:10:44 +10:00
Peter BarkerandClaude Sonnet 4.6 7bc70bcea7 hwdef: skyviper-v2450: remove AP_COMPASS_IST8310_EXTERNAL_BUS_PROBING_ENABLED
AP_COMPASS_BACKEND_DEFAULT_ENABLED is 0 and only BMM150 is enabled,
so IST8310 is never compiled in and this define has no effect.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 17:10:44 +10:00
Peter BarkerandClaude Sonnet 4.6 e480dde7a9 hwdef: skyviper-v2450: remove HAL_SOLO_GIMBAL_ENABLED define
HAL_MOUNT_ENABLED is 0 on SkyViper so this define is always 0 regardless.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 17:10:44 +10:00
Peter BarkerandClaude Sonnet 4.6 3726ad81be hwdef: skyviper-v2450: remove redundant inherited definitions
Remove pins, peripherals, defines, and undefs that were inherited from
fmuv3 but immediately overridden or undefed by skyviper-v2450:
- UART8, USART3, CAN1, CAN2, IOMCU_UART, SDIO, USART6 pins/settings
- HAL_CHIBIOS_ARCH_FMUV3, HAL_WITH_RAMTRON, HAL_OS_FATFS_IO defines
- fmuv3 SERIAL_ORDER (skyviper defines its own)
- AP_NOTIFY_OREOLED_ENABLED undef+redefine collapsed to single define
- DMA_NOSHARE/PRIORITY simplified: USART6 entry removed, ADC1 kept

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

hwdef: skyviper-v2450: clean up PA1 UART4_RX NODMA

Replace the define/undef/redefine dance with a single clean definition.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 17:10:44 +10:00
Peter BarkerandClaude Sonnet 4.6 1cab7cb5e4 hwdef: skyviper-v2450: inline fmuv3/hwdef.dat
Replaces `include ../fmuv3/hwdef.dat` with the literal content of that
file so skyviper-v2450 no longer inherits from fmuv3. All undef/redefine
overrides are preserved unchanged. Build output is identical.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 17:10:44 +10:00
Andy Piper 7030456ad7 hwdef: MPU6000 version of TBS_LUCID_H7 2026-04-08 17:00:19 +10:00
Peter Barker ecb7568eed hwdef: fmuv3: enable IST8310 ext probe only if sensor enabled
skyviper turns the sensor off completely, so it fails to find a define during compilation
2026-04-07 20:04:14 +09:00
Oleksandr Ivashyna c4bf273d7c AP_HAL_ChibiOS: update hwdef.dat for Atlas-Control
- Add UART8 (SBUS/DSM port) to SERIAL_ORDER
- Add PE0/PE1 pin definitions for UART8 RX/TX
- Remove BIDIR from PWM AUX channels 1,3,5,7
2026-04-07 10:09:25 +10:00
Peter Barker ca791330f7 hwdef: correct double-tick fixed-width markup to single-tick
former is rst-style, latter is markdown-style
2026-04-04 09:16:17 +11:00
viewpro-caijie 4f1e86bf41 AP_HAL_ChibiOS:add VUAV-TinyV7 2026-04-01 19:35:46 +11:00
Brown 58b7de347c Pixhawk6C: add LSM6DSV16X IMU support
Add SPI device and IMU probe line for the LSM6DSV16X on Pixhawk6C.
The driver auto-detects the chip via WHOAMI so both ICM42688 and
LSM6DSV16X boards are supported without a board type change.
2026-04-01 19:03:47 +11:00
Peter Barker 75c2134a4c hwdef: re-instate probing for external IST8310 compasses on fmuv3 boards 2026-03-30 09:30:57 +09:00
Peter Barker 4d25361ec8 hwdef: remove rst references from markdown
these were being added to link to the relevant pages, but should be independent in the markdown
2026-03-27 12:44:32 +11:00
Christian Clauss cc4f8d6ee2 AP_HAL_ChibiOS: Use dict.item() to get both keys and values 2026-03-25 20:06:49 +11:00
Peter BarkerandClaude Sonnet 4.6 a4aff7d390 hwdef: remove Sphinx paragraph-anchor artifacts from markdown
Two README files had `¶` paragraph anchor characters left over from
RST-to-Markdown conversion, some as part of H2 headings and some as
orphaned plain-text pseudo-headings with no leading `##`.

BrahmaF4: consolidate duplicate Firmware/Loading Firmware section,
fix RST hyperlink to standard Markdown syntax.

SDMODELH7V1: fix all affected headings (Specifications, UART Mapping,
Copter Default Frame Type, RC Input, OSD Support, LED Output,
Compass, Loading Firmware) and promote orphaned FrSky Telemetry,
Battery Monitoring, and PWM Output lines to proper H2 headings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 08:42:47 +11:00