Commit Graph

121 Commits

Author SHA1 Message Date
Peter Barker 9340042e31 AP_BoardConfig: remove @Values from param metadata where @Bitmask exists 2021-07-04 08:19:10 +10:00
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
2021-06-02 18:17:59 +10:00
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
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
2020-11-26 17:06:13 +09:00
Hwurzburg 6fe5ed36ce AP_BoardConfig: add Board option to disable MAVftp in low mem bds/apps 2020-11-17 10:41:59 +11:00
Andrew Tridgell f121c250ae AP_BoardConfig: allow replay on ChibiOS 2020-11-10 16:15:45 +11:00
Mark Whitehorn 30a9bb4ff4 AP_BoardConfig: change message interval to 5 seconds to match scheduler_delay_callback 2020-11-05 15:04:10 +11:00
Andrew Tridgell 45af37298b AP_BoardConfig: use AP_Filesystem for sdcard mount 2020-10-27 10:45:03 +11:00
Harsh Pandey c2744396cc AP_BoardConfig: Update BRD_TYPE parameter description for recent boards. 2020-10-14 07:53:22 +11:00
Andrew Tridgell 11b3c622dd AP_BoardConfig: allow more serial ports to have flow control 2020-10-03 20:22:56 +10:00
Andrew Tridgell 174dc3b032 AP_BoardConfig: disable watchdog in examples
not a lot of use in example code
2020-09-26 11:47:46 +10:00
Siddharth Purohit ad2a63e173 AP_BoardConfig: remove CAN management from BoardConfig 2020-08-19 17:31:09 +10:00
Peter Barker a7c493d037 AP_BoardConfig: fold init_vehicle back into AP_Vehicle init method 2020-02-25 11:47:52 +11: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 296090bb11 AP_BoardConfig: call init_vehicle()
this allows a single location for init_vehicle
2019-12-30 13:02:04 +11:00
Henry Wurzburg af1fd439aa AP_Boardconfig: Update BRD_SAFETY_MASK to refer to outputs not RC channels 2019-12-07 10:08:59 +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
Peter Barker 9aaa6c49fa AP_BoardConfig: correct include of AP_Vehicle_Type 2019-10-08 11:26:04 +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 444af9e638 AP_BoardConfig: fixed AP_Periph build error 2019-08-27 10:29:56 +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
Andrew Tridgell 288569e156 AP_BoardConfig: added BRD_OPTIONS
used to enable STM32 watchdog
2019-04-22 16:53:35 +10:00
Andrew Tridgell 49efe539fc AP_BoardConfig: fixed typo in volt pin handling 2019-04-02 13:45:13 +11: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
Tom Pittenger ab95c8e5ee AP_BoardConfig: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Andrew Tridgell 8a8308df38 AP_BoardConfig: removed F4Light 2019-01-21 21:57:21 +11:00
Michael du Breuil ba49e9e17c AP_BoardConfig: Add safety option off 2019-01-15 08:59:25 +11:00
Andrew Tridgell ba4e4e2e82 AP_BoardConfig: fixed example builds
don't try to use GCS calls in examples
2019-01-05 13:22:55 +11:00
Andrew Tridgell f13dc69c3d AP_BoardConfig: fixed param handling in sensor error
allow users to set parameters to recover their boards
2019-01-04 19:17:31 +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
Andrew Tridgell ba379d0b18 AP_BoardConfig: fixed param syntax for voltages 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
Andrew Tridgell 3505314e64 AP_BoardConfig: updated BRD_PWM_COUNT docs
This reflects the use of this parameter under ChibiOS
2018-10-30 13:36:39 +09:00
Peter Barker 45ac3e6bb2 AP_BoardConfig: correct grammar in @DisplayName 2018-08-21 20:34:01 +09: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 000ae3cb85 AP_BoardConfig: add default for BOARD_SAFETY_ENABLE
If HAL supports safety button but the board didn't declare a default,
define one to match what is done with BOARD_SAFETY_OPTION_DEFAULT.
2018-08-02 13:15:02 -07:00
Andrew Tridgell e52176e23b AP_BoardConfig: allow hwdef.dat override of BRD_TYPE 2018-07-12 12:33:32 +10:00
Peter Barker 22a94addd5 AP_BoardConfig: add parameters for AP_RTC 2018-06-15 08:01:22 +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 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
Michael du Breuil a47bda0b41 AP_BoardConfig: Fix param doc for BRD_SAFETYOPTION 2018-05-08 17:18:03 +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 13cf72ac32 AP_BoardConfig: allow override of PWM count in hwdef.dat 2018-04-09 15:32:04 +10: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