Andrew Tridgell
b50d405f91
AP_BoardConfig: added board detection for FMUv6
...
support Holybro-6X and CUAV-6X for now, using IMU signatures
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
Iampete1
3f98927885
AP_BoardConfig: add min arming temp margin param and getter
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
Andrew Tridgell
0f70b4d8e3
AP_BoardConfig: removed BRD_PWM_COUNT
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
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
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
11b3c622dd
AP_BoardConfig: allow more serial ports to have flow control
4 years ago
bugobliterator
b390f402b7
AP_BoardConfig: do bank selection when checking Invensensev2 Sensors
4 years ago
murata
91101aac01
AP_BoardConfig: Define a method class
...
AP_BoardConfig: Define a method class
5 years ago
bugobliterator
8a77ddf8c6
AP_BoardConfig: run validation test if declared under hwdef
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
88e5e54770
AP_BoardConfig: removed duplicate define for RTSCTS
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
Andrew Tridgell
e392416942
AP_BoardConfig: allow enable of watchdog in hwdef.dat
...
this will be used for AP_Periph
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
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
Jonathan Challinger
94b8f2e37a
AP_BoardConfig: fix build
6 years ago
Jonathan Challinger
042623cd0d
AP_BoardConfig: changes in response to review
6 years ago
Andrew Tridgell
288569e156
AP_BoardConfig: added BRD_OPTIONS
...
used to enable STM32 watchdog
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
Andrew Tridgell
c0e6338d8a
AP_BoardConfig: setup for fmuv6
6 years ago
Tom Pittenger
ab95c8e5ee
AP_BoardConfig: unify singleton naming to _singleton and get_singleton()
6 years ago
LukeMike
e15d2c0f89
HAL_ChibiOS: added ChibiOS configuration of VR Brain 5.4
6 years ago
LukeMike
33f7f5b7b6
HAL_ChibiOS: added ChibiOS configuration for VR Core 1.0
6 years ago
LukeMike
f615ab9a0a
HAL_ChibiOS: added ChibiOS configuration for VR Brain 5.1
6 years ago
Andrew Tridgell
8a8308df38
AP_BoardConfig: removed F4Light
6 years ago
LukeMike
a0a477795e
AP_BoardConfig: added reference to HAL ChibiOS Arch for VR Brain boards
6 years ago
Michael du Breuil
ba49e9e17c
AP_BoardConfig: Add safety option off
6 years ago
Andrew Tridgell
3a9d8448b1
AP_BoardConfig: added BRD_SD_SLOWDOWN parameter
...
allows for reduction in microSD clock speed
6 years ago
Michael du Breuil
6a41f0c86a
AP_BoardConfig: Add minimum board and servo voltage parameters
6 years ago
Kevin Lopez Alvarez
9f97172cce
AP_BoardConfig: add ChibiOS FMUv4pro defines
6 years ago
Andrew Tridgell
cd9179e733
AP_BoardConfig: fixed for 8 PWM outputs in IOMCU
6 years ago
Lucas De Marchi
73f8dd98f2
AP_BoardConfig: kill AP_FEATURE_SAFETY_BUTTON
...
This is redundant and can be just HAL_HAVE_SAFETY_SWITCH.
7 years ago
Lucas De Marchi
259195a7c7
AP_BoardConfig: fix handling of AP_FEATURE_SAFETY_BUTTON
...
Not all PX4-based board have a safety button. Rely on
HAL_HAVE_SAFETY_SWITCH instead of ifdef'ing each of them.
This allows to build for aerofc-v1 without safety button.
7 years ago
Andrew Tridgell
2a62938fb1
AP_BoardConfig: enable get_board_type() on all boards
...
return BOARD_TYPE_UNKNOWN for boards that don't use board detection
7 years ago
Peter Barker
59d1d8aecc
AP_BoardConfig: instantiate an RTC
...
AP_BoardConfig: set RTC from hw clock at startup
7 years ago
Andrew Tridgell
677b5f94b2
AP_BoardConfig: allow for non-bool BRD_IO_ENABLE
...
this will be used to avoid CRC checks for IO fw development testing
7 years ago