Peter Barker
2c64922a14
AP_BoardConfig: use HAL_GCS_ENABLED in place of periph/example check
...
... periphs can have GCS too...
3 years ago
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
3 years ago
Andrew Tridgell
7ed8e8d3b6
AP_BoardConfig: more changes for 32 bit servo mask
3 years ago
murata
c6ea688d52
AP_BoardConfig: Increase the number of digits in the board serial number
...
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>
3 years ago
Andy Piper
c01b1801c8
AP_BoardConfig: add options for write protecting bootloader and main flash
...
add option to completely remove protection on flash banks
3 years ago
Andrew Tridgell
3e1ffa3769
AP_BoardConfig: moved board dependent pieces from .h to .cpp
...
improves ccache efficiency
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
Iampete1
3f98927885
AP_BoardConfig: add min arming temp margin param and getter
3 years ago
Peter Barker
5b2eced5a2
AP_BoardConfig: factor substring from allocation_error parameter
3 years ago
Andrew Tridgell
8d9c9d9130
AP_BoardConfig: allow override of BRD_SAFETYENABLE default
3 years ago
Iampete1
0e0cc36f8f
AP_BoardConfig: remove ALT_CONFIG param if no alt config is posible
3 years ago
bugobliterator
0de393bf7f
AP_BoardConfig: add allocation failure handling loop
3 years ago
Peter Barker
815f7017d4
AP_BoardConfig: remove definitions of BOARD_PWM_COUNT_DEFAULT
...
No longer used
4 years ago
Andrew Tridgell
fdd294b0f3
AP_BoardConfig: replaced Pixhawk with more appropriate wording in docs
4 years ago
Andrew Tridgell
0f70b4d8e3
AP_BoardConfig: removed BRD_PWM_COUNT
4 years ago
Peter Barker
955ea710b8
AP_BoardConfig: remove @Values from param metadata where @Bitmask exists
4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
Hwurzburg
6fe5ed36ce
AP_BoardConfig: add Board option to disable MAVftp in low mem bds/apps
4 years ago
Andrew Tridgell
f121c250ae
AP_BoardConfig: allow replay on ChibiOS
4 years ago
Mark Whitehorn
30a9bb4ff4
AP_BoardConfig: change message interval to 5 seconds to match scheduler_delay_callback
4 years ago
Andrew Tridgell
45af37298b
AP_BoardConfig: use AP_Filesystem for sdcard mount
4 years ago
Harsh Pandey
c2744396cc
AP_BoardConfig: Update BRD_TYPE parameter description for recent boards.
4 years ago
Andrew Tridgell
11b3c622dd
AP_BoardConfig: allow more serial ports to have flow control
4 years ago
Andrew Tridgell
174dc3b032
AP_BoardConfig: disable watchdog in examples
...
not a lot of use in example code
4 years ago
Siddharth Purohit
ad2a63e173
AP_BoardConfig: remove CAN management from BoardConfig
5 years ago
Peter Barker
a7c493d037
AP_BoardConfig: fold init_vehicle back into AP_Vehicle init method
5 years ago
Andrew Tridgell
4743a7670f
AP_BoardConfig: include BRD_IO_ENABLE without board detect
5 years ago
Andrew Tridgell
60a13f4eeb
AP_BoardConfig: added BRD_ALT_CONFIG parameter
...
allow for alternative hw configs to be selected
5 years ago
Andrew Tridgell
296090bb11
AP_BoardConfig: call init_vehicle()
...
this allows a single location for init_vehicle
5 years ago
Henry Wurzburg
af1fd439aa
AP_Boardconfig: Update BRD_SAFETY_MASK to refer to outputs not RC channels
5 years ago
Mark Whitehorn
9cf708b846
AP_BoardConfig: rename sensor_config_error to config_error
5 years ago
Andrew Tridgell
f458d58dde
AP_BoardConfig: moved heater PI to AP_BoardConfig
...
and made tunable
5 years ago
Peter Barker
9aaa6c49fa
AP_BoardConfig: correct include of AP_Vehicle_Type
5 years ago
Andrew Tridgell
5a96e374ba
AP_BoardConfig: moved logic for safety button press to AP_BoardConfig
...
this allows for common code between CAN and pin safety switches, as
well as making the code neater as most of the logic is related to
AP_BoardConfig options
5 years ago
Andrew Tridgell
444af9e638
AP_BoardConfig: fixed AP_Periph build error
6 years ago
Andrew Tridgell
bcfdc91900
AP_BoardConfig: added BRD_BOOT_DELAY
...
this allows for a configurable boot delay in case a board has
peripherals that take a long time to bootup
6 years ago
Andrew Tridgell
288569e156
AP_BoardConfig: added BRD_OPTIONS
...
used to enable STM32 watchdog
6 years ago
Andrew Tridgell
49efe539fc
AP_BoardConfig: fixed typo in volt pin handling
6 years ago
Siddharth Purohit
c0036cbbdd
AP_BoardConfig: add support for PWM Voltage level setting
6 years ago
Andrew Tridgell
8493b4c07c
AP_BoardConfig: remove more px4 remnants
6 years ago
Tom Pittenger
ab95c8e5ee
AP_BoardConfig: unify singleton naming to _singleton and get_singleton()
6 years ago
Andrew Tridgell
8a8308df38
AP_BoardConfig: removed F4Light
6 years ago
Michael du Breuil
ba49e9e17c
AP_BoardConfig: Add safety option off
6 years ago
Andrew Tridgell
ba4e4e2e82
AP_BoardConfig: fixed example builds
...
don't try to use GCS calls in examples
6 years ago
Andrew Tridgell
f13dc69c3d
AP_BoardConfig: fixed param handling in sensor error
...
allow users to set parameters to recover their boards
6 years ago
Andrew Tridgell
3a9d8448b1
AP_BoardConfig: added BRD_SD_SLOWDOWN parameter
...
allows for reduction in microSD clock speed
6 years ago