Commit Graph

157 Commits

Author SHA1 Message Date
Iampete1 0959930289 AP_BoardConfig: update RTSCTS param values for new option 2024-05-28 09:48:19 +10:00
Peter Barker 6d9a75b5ec AP_BoardConfig: move handling of AP_Radio RC input down into AP_RCProtocol 2024-05-01 17:51:49 +10:00
Andrew Tridgell 95ee2c437e AP_BoardConfig: added BRD_SD_FENCE
allow for fence storage on microSD
2024-03-12 11:43:36 +11:00
Henry Wurzburg 176a4aa51a AP_BoardConfig: add arm/disarm controlled GPIO for module power control 2023-11-18 14:27:05 +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
bugobliterator b8af6da623 AP_BoardConfig: add ability to change dshot firmware 2023-08-15 06:53:48 +10: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
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
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
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
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
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 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
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 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
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
bugobliterator 0de393bf7f AP_BoardConfig: add allocation failure handling loop 2021-09-22 21:36:34 +10:00
Peter Barker 815f7017d4 AP_BoardConfig: remove definitions of BOARD_PWM_COUNT_DEFAULT
No longer used
2021-08-20 10:51:19 +10:00
Andrew Tridgell fdd294b0f3 AP_BoardConfig: replaced Pixhawk with more appropriate wording in docs 2021-07-22 07:48:12 +10:00
Andrew Tridgell 0f70b4d8e3 AP_BoardConfig: removed BRD_PWM_COUNT 2021-07-22 07:48:12 +10:00
Peter Barker 955ea710b8 AP_BoardConfig: remove @Values from param metadata where @Bitmask exists 2021-06-23 18:37:34 +10:00
Randy Mackay 3f77c52720 AP_BoardConfig: minor change to BRD_IMU_TARGTEMP param desc
Users should reboot if the param is changed to -1 because the heater pin could be left on
2021-06-02 18:17:59 +10:00
Andrew Tridgell f543c483fc AP_BoardConfig: added BRD_OPTIONS flag for setting of internal parameters
this allows us to make parameters read-only for normal use, but for
special developer requirements the user can unlock the parameters at
their own risk
2020-12-08 13:22:17 +11:00
Andrew Tridgell 8c959c4e13 AP_BoardConfig: added an EXPECT_DELAY_MS to config_error
this prevents a config_error called after setup() has complete from
causing a watchdog. That is a bit more friendly
2020-11-26 17:06:13 +09:00
Hwurzburg 6fe5ed36ce AP_BoardConfig: add Board option to disable MAVftp in low mem bds/apps 2020-11-17 10:41:59 +11:00
Andrew Tridgell f121c250ae AP_BoardConfig: allow replay on ChibiOS 2020-11-10 16:15:45 +11:00
Mark Whitehorn 30a9bb4ff4 AP_BoardConfig: change message interval to 5 seconds to match scheduler_delay_callback 2020-11-05 15:04:10 +11:00
Andrew Tridgell 45af37298b AP_BoardConfig: use AP_Filesystem for sdcard mount 2020-10-27 10:45:03 +11:00
Harsh Pandey c2744396cc AP_BoardConfig: Update BRD_TYPE parameter description for recent boards. 2020-10-14 07:53:22 +11:00
Andrew Tridgell 11b3c622dd AP_BoardConfig: allow more serial ports to have flow control 2020-10-03 20:22:56 +10:00
Andrew Tridgell 174dc3b032 AP_BoardConfig: disable watchdog in examples
not a lot of use in example code
2020-09-26 11:47:46 +10:00
Siddharth Purohit ad2a63e173 AP_BoardConfig: remove CAN management from BoardConfig 2020-08-19 17:31:09 +10:00
Peter Barker a7c493d037 AP_BoardConfig: fold init_vehicle back into AP_Vehicle init method 2020-02-25 11:47:52 +11:00
Andrew Tridgell 4743a7670f AP_BoardConfig: include BRD_IO_ENABLE without board detect 2020-01-18 17:01:40 +11:00