Commit Graph

111 Commits

Author SHA1 Message Date
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
Hwurzburg 6fe5ed36ce AP_BoardConfig: add Board option to disable MAVftp in low mem bds/apps 2020-11-17 10:41:59 +11:00
Tom Pittenger 3cf537deed AP_BoardConfig: reorder the fixed-index enum 2020-11-14 08:38:24 +11:00
Andrew Tridgell 11b3c622dd AP_BoardConfig: allow more serial ports to have flow control 2020-10-03 20:22:56 +10:00
bugobliterator b390f402b7 AP_BoardConfig: do bank selection when checking Invensensev2 Sensors 2020-09-16 18:08:08 +10:00
murata 91101aac01 AP_BoardConfig: Define a method class
AP_BoardConfig: Define a method class
2020-06-30 09:21:16 +10:00
bugobliterator 8a77ddf8c6 AP_BoardConfig: run validation test if declared under hwdef 2020-04-10 07:04:21 +10:00
Andrew Tridgell 4743a7670f AP_BoardConfig: include BRD_IO_ENABLE without board detect 2020-01-18 17:01:40 +11:00
Andrew Tridgell 60a13f4eeb AP_BoardConfig: added BRD_ALT_CONFIG parameter
allow for alternative hw configs to be selected
2020-01-02 09:52:57 +11:00
Andrew Tridgell 88e5e54770 AP_BoardConfig: removed duplicate define for RTSCTS 2019-12-18 17:18:44 +11:00
Mark Whitehorn 9cf708b846 AP_BoardConfig: rename sensor_config_error to config_error 2019-11-08 10:14:34 +11:00
Andrew Tridgell f458d58dde AP_BoardConfig: moved heater PI to AP_BoardConfig
and made tunable
2019-11-02 16:31:04 +11:00
Andrew Tridgell e392416942 AP_BoardConfig: allow enable of watchdog in hwdef.dat
this will be used for AP_Periph
2019-10-21 19:12:01 +11:00
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
2019-09-10 16:22:33 +10:00
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
2019-07-30 13:32:36 +10:00
Jonathan Challinger 94b8f2e37a AP_BoardConfig: fix build 2019-04-24 11:45:14 +10:00
Jonathan Challinger 042623cd0d AP_BoardConfig: changes in response to review 2019-04-24 11:45:14 +10:00
Andrew Tridgell 288569e156 AP_BoardConfig: added BRD_OPTIONS
used to enable STM32 watchdog
2019-04-22 16:53:35 +10:00
Siddharth Purohit c0036cbbdd AP_BoardConfig: add support for PWM Voltage level setting 2019-04-01 21:30:12 +11:00
Andrew Tridgell 8493b4c07c AP_BoardConfig: remove more px4 remnants 2019-02-27 20:32:37 +11:00
Andrew Tridgell c0e6338d8a AP_BoardConfig: setup for fmuv6 2019-02-26 16:18:26 +11:00
Tom Pittenger ab95c8e5ee AP_BoardConfig: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
LukeMike e15d2c0f89 HAL_ChibiOS: added ChibiOS configuration of VR Brain 5.4 2019-01-24 18:41:38 +11:00
LukeMike 33f7f5b7b6 HAL_ChibiOS: added ChibiOS configuration for VR Core 1.0 2019-01-24 18:41:38 +11:00
LukeMike f615ab9a0a HAL_ChibiOS: added ChibiOS configuration for VR Brain 5.1 2019-01-24 18:41:38 +11:00
Andrew Tridgell 8a8308df38 AP_BoardConfig: removed F4Light 2019-01-21 21:57:21 +11:00
LukeMike a0a477795e AP_BoardConfig: added reference to HAL ChibiOS Arch for VR Brain boards 2019-01-18 11:49:19 +11:00
Michael du Breuil ba49e9e17c AP_BoardConfig: Add safety option off 2019-01-15 08:59:25 +11:00
Andrew Tridgell 3a9d8448b1 AP_BoardConfig: added BRD_SD_SLOWDOWN parameter
allows for reduction in microSD clock speed
2018-12-31 08:00:14 +11:00
Michael du Breuil 6a41f0c86a AP_BoardConfig: Add minimum board and servo voltage parameters 2018-11-12 23:29:04 +00:00
Kevin Lopez Alvarez 9f97172cce AP_BoardConfig: add ChibiOS FMUv4pro defines 2018-10-21 09:59:44 +11:00
Andrew Tridgell cd9179e733 AP_BoardConfig: fixed for 8 PWM outputs in IOMCU 2018-10-17 15:11:28 +11:00
Lucas De Marchi 73f8dd98f2 AP_BoardConfig: kill AP_FEATURE_SAFETY_BUTTON
This is redundant and can be just HAL_HAVE_SAFETY_SWITCH.
2018-08-02 13:15:02 -07:00
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.
2018-08-02 13:15:02 -07:00
Andrew Tridgell 2a62938fb1 AP_BoardConfig: enable get_board_type() on all boards
return BOARD_TYPE_UNKNOWN for boards that don't use board detection
2018-07-14 17:51:50 +10:00
Peter Barker 59d1d8aecc AP_BoardConfig: instantiate an RTC
AP_BoardConfig: set RTC from hw clock at startup
2018-06-15 08:01:22 +10:00
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
2018-06-06 07:15:41 +10:00
Andrew Tridgell 751f290be6 AP_BoardConfig: setup FMUv5 for board detection 2018-06-06 07:15:41 +10:00
Andrew Tridgell 99ca0ea913 AP_BoardConfig: moved BRD_PWM_COUNT to common code
this allows all boards to configure some PWM outputs as GPIOs
2018-05-26 12:08:54 +10:00
Eugene Shamaev 7a67c82026 AP_BoardConfig: HAL_RCINPUT_WITH_AP_RADIO definition 2018-05-22 08:35:01 +09:00
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
2018-04-21 08:45:34 +10:00
Andrew Tridgell 60f79921ac AP_BoardConfig: added get_safety_mask() 2018-04-17 10:14:01 +10:00
Andrew Tridgell 57c307a74e AP_BoardConfig: fixed default pwm count
for boards without the parameter we should use 16, meaning all channels
available

thanks to sh83 for noticing
2018-04-16 07:40:55 +10:00
kozinalexey db6c6b1677 AP_BoardConfig: allow PWM count setting on all chibios boards 2018-04-14 11:09:34 +10:00
Andrew Tridgell d8abf647e8 AP_BoardConfig: added BRD_SAFETYOPTION parameter
allow control of safety button behaviour
2018-04-14 06:22:07 +10:00
Andrew Tridgell f7ec2618a3 AP_BoardConfig: added SP01 board type 2018-02-14 18:27:00 +11:00
Andrew Tridgell 682dcb65cf AP_BoardConfig: added param helper for HAL parameters
only for HAL_REVOMINI for now
2018-02-10 09:14:41 +11:00
Andrew Tridgell 3afaf81ccc AP_BoardConfig: added param object for AP_Radio 2018-02-08 17:36:33 +11:00
LukeMike 6b820ac9e4 VRBRAIN / AP_BoardConfig: added VR Brain define into px4_board_type enum 2018-02-05 08:26:49 +11:00
Andrew Tridgell f8a3b0e753 AP_BoardConfig: improved board config
use hwdef.dat to enable RTSCTS and SBUS_OUT
2018-01-20 17:40:07 +11:00