Andrew Tridgell
0bfe567c4d
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
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
Andrew Tridgell
0f5a75f5b9
AP_BoardConfig: convert to using hal.serial() instead of hal.uartX
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
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
764117c336
AP_BoardConfig: fixed build warning
5 years ago
bugobliterator
8a77ddf8c6
AP_BoardConfig: run validation test if declared under hwdef
5 years ago
Andrew Tridgell
8f867ddb2b
AP_BoardConfig: use take_blocking instead of HAL_SEMAPHORE_BLOCK_FOREVER
...
this makes for cleaner and smaller code as the failure case is not
needed
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
bugobliterator
ee6f912217
AP_BoardConfig: add support for CubeBlackPlus
5 years ago
Michael du Breuil
53860b53ac
AP_BoardConfig: Remove the usage of force_safety_no_wait
6 years ago
Jonathan Challinger
1829fcfd98
AP_BoardConfig: fix build for CubeBlack
6 years ago
Jonathan Challinger
af4611c050
AP_BoardConfig: fix unused function error
6 years ago
Jonathan Challinger
40684b95d7
AP_BoardConfig: changes in response to review
6 years ago
Jonathan Challinger
042623cd0d
AP_BoardConfig: changes in response to review
6 years ago
Jonathan Challinger
faa5a3c453
AP_BoardConfig: add targetted check for cube black internal sensors
6 years ago
Andrew Tridgell
a4ab44a7b3
AP_BoardConfig: auto-restore safety state on watchdog reset
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
Siddharth Purohit
cf7e95eaba
BoardConfig: add detection procedure for new sensor configurations
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
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
LukeMike
a0a477795e
AP_BoardConfig: added reference to HAL ChibiOS Arch for VR Brain boards
6 years ago
Kevin Lopez Alvarez
9f97172cce
AP_BoardConfig: add ChibiOS FMUv4pro defines
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
Andrew Tridgell
ed09467f06
AP_BoardConfig: removed verbose SPI probe debug messages
...
these are just confusing for users
7 years ago
Andrew Tridgell
751f290be6
AP_BoardConfig: setup FMUv5 for board detection
7 years ago
Andrew Tridgell
e2fa38968f
AP_BoardConfig: fixed build for some boards
...
for boards that don't have board detection but do have a safety switch
this fixes the build
7 years ago
Andrew Tridgell
f7ec2618a3
AP_BoardConfig: added SP01 board type
7 years ago
Andrew Tridgell
abd659212e
AP_BoardConfig: fixed device semaphore in board detect
...
thanks to Mark for finding this
7 years ago
LukeMike
ccb316f3f3
VRBRAIN / AP_BoardConfig: some update for new VR Brain 5.2E (EEPROM version)
7 years ago
LukeMike
b7985f77b5
VRBRAIN / AP_BoardConfig: added VR Brain boards into board_setup_drivers and board_autodetect
7 years ago
Andrew Tridgell
5458377e67
AP_BoardConfig: support MindPX-v2
7 years ago
Andrew Tridgell
02c3bea5a5
AP_BoardConfig: support ChibiOS FMUv4
7 years ago
Andrew Tridgell
82cc36d6d0
AP_BoardConfig: called board_setup() even without autodetect
...
we need to init hal.rcou and hal.gpio
7 years ago
Andrew Tridgell
e88fe93688
AP_BoardConfig: init chibios IO after boardconfig
...
this allows for the init to use parameters such as BRD_IO_ENABLE from
AP_BoardConfig
7 years ago
Andrew Tridgell
accac344f2
AP_BoardConfig: support ChibiOS as well as NuttX
...
allow for board detection with ChibiOS
7 years ago