Commit Graph
66 Commits
Author SHA1 Message Date
Peter Barker 887420ec74 AP_BoardConfig: remove remaining vrbrain FMU architectures and PX4_BOARD_TYPEs 2025-06-25 18:17:19 +10:00
Peter Barker 3d99e3718f AP_BoardConfig: remove support for SP01 board
there's no automatic setting for this board, so it would have been selected by parameter only.

This was a development board pre-PCNC01 - it wasn't widely distributed.

If we want this back we can create a full-on board for it...
2025-06-24 10:38:58 +10:00
Peter Barker 1aea275f39 AP_BoardConfig: remove HAL_CHIBIOS_ARCH_FMUV4PRO
doesn't make any difference to the one user whether this is in or not, just saves bytes.,,,
2025-06-19 09:49:17 +10:00
Peter Barker b8fdb2896c AP_BoardConfig: remove HAL_CHIBIOS_ARCH_FMUV4
the boards that used this arch define their own sensors.

The ARCH define isn't used anywhere, nor is the PX4_BOARD_TYPE value
2025-06-18 17:39:37 +10:00
Peter Barker 34283bdb58 AP_BoardConfig: remove PCNC1 board type
only used for one board, so inline everything required
2025-06-17 10:59:00 +10:00
Peter Barker 7baf5cd74a AP_BoardConfig: print value of unknown board type 2025-06-14 11:13:45 +10:00
Peter Barker c27ad1c9f2 AP_BoardConfig: move VRBrain-v54 sensors to hwdef 2025-06-11 17:22:55 +10:00
Peter Barker e4945b1d5d AP_BoardConfig: remove line feeds from GCS_SEND_TEXT calls
these often make their way in when moving from some other printf-style debugging...
2025-05-30 22:36:07 +10:00
Andy Piper e20a00cc53 AP_BoardConfig: support flow control on UARTs 6->8 2025-01-28 12:01:45 +11:00
Andrew Tridgell a25f10a914 AP_BoardConfig: added detection of Holybro6X-45686 2024-01-23 11:49:14 +11:00
Andrew Tridgell b86774789b AP_BoardConfig: detect Holybro 6X Rev6 2023-10-31 10:42:25 +11:00
Hayden 10038a64be AP_BoardConfig: Added ignore board validation
Added the ability to ignore board validation. This has been added to the 7th bit in BRD_OPTIONS
2023-05-16 09:18:54 +10:00
bugobliterator ef8ebd85dd AP_BoardConfig: resetting the BRD_HEAT_TARG to 45 is not needed anymore
As iomcu fw has right default polarity now.
2023-04-19 17:59:08 +10:00
Andy Piper 76b5915d5b AP_BoardConfig: ensure that debug pins are enabled if compiled with debug 2023-03-29 20:49:40 +11:00
bugobliterator 691380478a AP_BoardConfig: add support for checking ICM45686 2022-11-01 10:41:59 +11:00
Andrew Tridgell 7c25b34f56 AP_BoardConfig: load CUAVv6X defaults when detected 2022-09-14 18:04:46 +10:00
Iampete1 7a5ff6b51f AP_BoardConfig: params always use set method 2022-08-03 13:43:48 +01:00
Andrew Tridgell 9911fd76f4 AP_BoardConfig: allow for BMI088 for Holybro 6X
and tighten check on CUAV-X6 and Holybro-6X to check all 3 IMUs
2022-08-02 17:26:46 +10:00
Andrew Tridgell b50d405f91 AP_BoardConfig: added board detection for FMUv6
support Holybro-6X and CUAV-6X for now, using IMU signatures
2022-07-19 15:02:31 +10:00
Peter Barker 336a6b0359 AP_BoardConfig: remove reference to CONFIG_ARCH_BOARD_*
These are vestiges from when we ran both on ChibiOS and NuttX
2022-06-28 11:21:30 +10:00
Andrew Tridgell cf4768454f AP_BoardConfig: expose BRD_SAFETYENABLE on all boards
default BRD_SAFETYENABLE to 0 on boards with no safety switch, which
gives us the same behaviour as before, but users can choose to enable
the safety

this fixes two problems:

  - CAN servos and ESCs work on boards with no safety switch
    (eg. MatekH743 with CAN)

  - during startup we could get spurious outputs before out aircraft
    type is setup
2022-05-22 14:58:12 +10:00
murata 234bb5409d AP_BoardConfig: Console output can be disabled 2022-05-17 09:53:06 +10:00
bugobliterator 8574afb2e1 AP_BoardConfig: add WHOAMI for INV42688 2022-03-20 07:23:10 -07:00
Andrew Tridgell 9383c43ab9 AP_BoardConfig: include hal.h 2022-02-22 12:13:19 +11:00
Andrew Tridgell 237e71b95f AP_BoardConfig: disable STLink debug pins by default
this avoids leaving the debug pins in a state where they may be
vulnerable to ESD issues
2021-12-28 10:31:25 +11:00
Andrew Tridgell 0f5a75f5b9 AP_BoardConfig: convert to using hal.serial() instead of hal.uartX 2020-12-15 10:32:46 +11:00
Andrew Tridgell 11b3c622dd AP_BoardConfig: allow more serial ports to have flow control 2020-10-03 20:22:56 +10:00
bugobliterator b390f402b7 AP_BoardConfig: do bank selection when checking Invensensev2 Sensors 2020-09-16 18:08:08 +10:00
Andrew Tridgell 4b047625fc AP_BoardConfig: use polarity for 3.3/5v selection 2020-07-21 08:47:27 +10:00
murata 91101aac01 AP_BoardConfig: Define a method class
AP_BoardConfig: Define a method class
2020-06-30 09:21:16 +10:00
Andrew Tridgell 764117c336 AP_BoardConfig: fixed build warning 2020-04-28 10:32:23 +10:00
bugobliterator 8a77ddf8c6 AP_BoardConfig: run validation test if declared under hwdef 2020-04-10 07:04:21 +10:00
Andrew Tridgell 8f867ddb2b AP_BoardConfig: use take_blocking instead of HAL_SEMAPHORE_BLOCK_FOREVER
this makes for cleaner and smaller code as the failure case is not
needed
2020-01-19 20:19:30 +11:00
Mark Whitehorn 9cf708b846 AP_BoardConfig: rename sensor_config_error to config_error 2019-11-08 10:14:34 +11:00
Andrew Tridgell f458d58dde AP_BoardConfig: moved heater PI to AP_BoardConfig
and made tunable
2019-11-02 16:31:04 +11:00
bugobliterator ee6f912217 AP_BoardConfig: add support for CubeBlackPlus 2019-09-16 12:53:44 +10:00
Michael du Breuil 53860b53ac AP_BoardConfig: Remove the usage of force_safety_no_wait 2019-09-04 07:14:50 +10:00
Jonathan Challinger 1829fcfd98 AP_BoardConfig: fix build for CubeBlack 2019-04-25 14:15:27 -07:00
Jonathan Challinger af4611c050 AP_BoardConfig: fix unused function error 2019-04-24 11:45:14 +10:00
Jonathan Challinger 40684b95d7 AP_BoardConfig: changes in response to review 2019-04-24 11:45:14 +10:00
Jonathan Challinger 042623cd0d AP_BoardConfig: changes in response to review 2019-04-24 11:45:14 +10:00
Jonathan Challinger faa5a3c453 AP_BoardConfig: add targetted check for cube black internal sensors 2019-04-24 11:45:14 +10:00
Andrew Tridgell a4ab44a7b3 AP_BoardConfig: auto-restore safety state on watchdog reset 2019-04-22 16:53:35 +10:00
Andrew Tridgell 49efe539fc AP_BoardConfig: fixed typo in volt pin handling 2019-04-02 13:45:13 +11:00
Siddharth Purohit c0036cbbdd AP_BoardConfig: add support for PWM Voltage level setting 2019-04-01 21:30:12 +11:00
Siddharth Purohit cf7e95eaba BoardConfig: add detection procedure for new sensor configurations 2019-03-06 20:47:10 +11:00
Andrew Tridgell 8493b4c07c AP_BoardConfig: remove more px4 remnants 2019-02-27 20:32:37 +11:00
Andrew Tridgell c0e6338d8a AP_BoardConfig: setup for fmuv6 2019-02-26 16:18:26 +11:00
LukeMike e15d2c0f89 HAL_ChibiOS: added ChibiOS configuration of VR Brain 5.4 2019-01-24 18:41:38 +11:00
LukeMike 33f7f5b7b6 HAL_ChibiOS: added ChibiOS configuration for VR Core 1.0 2019-01-24 18:41:38 +11:00