Iampete1
7a5ff6b51f
AP_BoardConfig: params always use set method
3 years ago
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
3 years ago
Andrew Tridgell
b50d405f91
AP_BoardConfig: added board detection for FMUv6
...
support Holybro-6X and CUAV-6X for now, using IMU signatures
3 years ago
Peter Barker
2c64922a14
AP_BoardConfig: use HAL_GCS_ENABLED in place of periph/example check
...
... periphs can have GCS too...
3 years ago
Peter Barker
336a6b0359
AP_BoardConfig: remove reference to CONFIG_ARCH_BOARD_*
...
These are vestiges from when we ran both on ChibiOS and NuttX
3 years ago
Andrew Tridgell
180c516b53
AP_BoardConfig: fixed build with logging disabled
...
fixes CubeOrange-periph build
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
234bb5409d
AP_BoardConfig: Console output can be disabled
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
bugobliterator
8574afb2e1
AP_BoardConfig: add WHOAMI for INV42688
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
9383c43ab9
AP_BoardConfig: include hal.h
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
Andrew Tridgell
e1c9da85b9
AP_BoardConfig: allow for heater polarity setting on FMU
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
Iampete1
970d0ea2a3
AP_BoardConfig: make sure heater is left off if disabled
3 years ago
Peter Barker
815f7017d4
AP_BoardConfig: remove definitions of BOARD_PWM_COUNT_DEFAULT
...
No longer used
4 years ago
Andrew Tridgell
730f5cc7e8
AP_BoardConfig: mark logger Write() calls as streaming where appropriate
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
c2a13213ae
AP_BoardConfig: allow for hwdef.dat setting for IMU heater gains
4 years ago
Andrew Tridgell
1097d04e5d
AP_BoardConfig: added get_heater_duty_cycle()
4 years ago
Patrick José Pereira
3fcf430a2c
AP_BoardConfig: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Andrew Tridgell
0f5a75f5b9
AP_BoardConfig: convert to using hal.serial() instead of hal.uartX
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
Tom Pittenger
3cf537deed
AP_BoardConfig: reorder the fixed-index enum
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
bugobliterator
b390f402b7
AP_BoardConfig: do bank selection when checking Invensensev2 Sensors
4 years ago
Siddharth Purohit
ad2a63e173
AP_BoardConfig: remove CAN management from BoardConfig
5 years ago
Andrew Tridgell
4b047625fc
AP_BoardConfig: use polarity for 3.3/5v selection
5 years ago
murata
91101aac01
AP_BoardConfig: Define a method class
...
AP_BoardConfig: Define a method class
5 years ago
Andrew Tridgell
d7555b4b86
AP_BoardConfig: invalidate param count when changing param tree structure
5 years ago
Andrew Tridgell
764117c336
AP_BoardConfig: fixed build warning
5 years ago