Commit Graph

305 Commits

Author SHA1 Message Date
Andrew Tridgell 42ba8ac8d6 AP_BoardConfig: added BRD_SD_FENCE
allow for fence storage on microSD
2024-03-14 09:33:55 +09:00
Andrew Tridgell a25f10a914 AP_BoardConfig: added detection of Holybro6X-45686 2024-01-23 11:49:14 +11:00
Henry Wurzburg 176a4aa51a AP_BoardConfig: add arm/disarm controlled GPIO for module power control 2023-11-18 14:27:05 +11:00
Andrew Tridgell b86774789b AP_BoardConfig: detect Holybro 6X Rev6 2023-10-31 10:42:25 +11:00
Mykhailo Kuznietsov e723be4196 AP_BoardConfig: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Peter Barker 6dc80006d3 AP_BoardConfig: add and use an AP_RTC_config.h 2023-10-11 19:17:27 +11:00
Andy Piper 2dd4f3f581 AP_BoardConfig: control dshot availability with HAL_WITH_IO_MCU_DSHOT
correct parameter id for BRD_IO_DSHOT
2023-08-15 06:53:48 +10:00
Andy Piper 4c8b346512 AP_BoardConfig: check IOMCU is enabled when checking dshot 2023-08-15 06:53:48 +10:00
bugobliterator b8af6da623 AP_BoardConfig: add ability to change dshot firmware 2023-08-15 06:53:48 +10:00
Tom Pittenger e05700e10d AP_BoardConfig: add accessor for param BRD_SERIAL_NUM 2023-07-04 13:35:09 -07:00
Iampete1 7e94eb39ff AP_BoardConfig: fix conflicting param indexs 2023-06-27 11:27:08 +10:00
Andrew Tridgell 135bfac378 AP_BoardConfig: fixed documentation of safety options
on and off were reversed
2023-05-26 17:45:32 +10:00
Peter Barker 189712830c AP_BoardConfig: replace HAVE_FILESYSTEM_SUPPORT with backend defines 2023-05-17 09:40:39 +10: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
Andrew Tridgell 14d2318859 AP_BoardConfig: on debug builds enable the debug pins by default
this saves a step in debugging
2023-04-18 14:35:21 +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
Andrew Tridgell eb4f544535 AP_BoardConfig: support multiple heater pins 2023-03-15 19:08:53 +11:00
Andrew Tridgell 86cf63fca4 AP_BoardConfig: add BRD_SD_MISSION parameter 2023-03-10 14:13:55 +11:00
Andrew Tridgell ab44c54efd AP_BoardConfig: improve description of BRD_PWM_VOLT_SEL 2023-01-31 11:13:35 +11:00
Peter Barker bbae74c060 AP_BoardConfig: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Andrew Tridgell 4657ab76e9 AP_BoardConfig: fixed description of BRD_IO_ENABLE 2022-11-03 18:47:03 +11:00
bugobliterator 691380478a AP_BoardConfig: add support for checking ICM45686 2022-11-01 10:41:59 +11:00
Peter Barker b4a42e61f3 AP_BoardConfig: rename parameter name BRD_SAFETYENABLE to BRD_SAFETY_DEFLT 2022-10-26 19:53:03 +11:00
Peter Barker 21d27d8988 AP_BoardConfig: correct description of safety switch 2022-10-26 19:53:03 +11:00
Andrew Tridgell fe88515889 AP_BoardConfig: fixed BRD_SAFETY_MASK
this was being omitted on most boards since we changed to
SERVOn_FUNCTION=-1 method for GPIO
2022-10-07 11:38:15 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +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 2c64922a14 AP_BoardConfig: use HAL_GCS_ENABLED in place of periph/example check
... periphs can have GCS too...
2022-07-17 09:33:11 +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 180c516b53 AP_BoardConfig: fixed build with logging disabled
fixes CubeOrange-periph build
2022-06-06 14:50:40 +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
Andrew Tridgell 7ed8e8d3b6 AP_BoardConfig: more changes for 32 bit servo mask 2022-05-22 12:07:37 +10:00
murata 234bb5409d AP_BoardConfig: Console output can be disabled 2022-05-17 09:53:06 +10:00
murata c6ea688d52 AP_BoardConfig: Increase the number of digits in the board serial number
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>
2022-05-17 09:08:43 +10:00
bugobliterator 8574afb2e1 AP_BoardConfig: add WHOAMI for INV42688 2022-03-20 07:23:10 -07:00
Andy Piper c01b1801c8 AP_BoardConfig: add options for write protecting bootloader and main flash
add option to completely remove protection on flash banks
2022-02-24 10:19:07 +11:00
Andrew Tridgell 3e1ffa3769 AP_BoardConfig: moved board dependent pieces from .h to .cpp
improves ccache efficiency
2022-02-23 12:36:59 +11: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
Peter Barker 6a13613a0f AP_BoardConfig: correct va_list memory over-read error
A va_list can only be used once - so take a copy each time we want to
use it
2021-11-23 11:46:09 +11:00
Andrew Tridgell e1c9da85b9 AP_BoardConfig: allow for heater polarity setting on FMU 2021-11-10 08:47:21 +11:00
Randy Mackay ad0a5aa260 AP_BoardConfig: rename TEMPMGN_LOW to HEAT_LOWMGN
also these renames are included
BRD_IMU_TARGTEMP becomes BRD_HEAT_TARG
BRD_IMUHEAT_P/I/IJAX become BRD_HEAT_P/I/IMAX
2021-11-09 08:02:57 +09:00
Iampete1 3f98927885 AP_BoardConfig: add min arming temp margin param and getter 2021-10-19 11:16:45 +11:00
Peter Barker 5b2eced5a2 AP_BoardConfig: factor substring from allocation_error parameter 2021-10-18 12:49:44 +11:00
Andrew Tridgell 8d9c9d9130 AP_BoardConfig: allow override of BRD_SAFETYENABLE default 2021-10-12 15:47:51 +11:00
Iampete1 0e0cc36f8f AP_BoardConfig: remove ALT_CONFIG param if no alt config is posible 2021-09-29 19:55:21 +10:00