Commit Graph

204 Commits

Author SHA1 Message Date
Siddharth Purohit fe44384c95 BoardConfig_CAN: return serial port with switch between parameter and passthrough 2019-07-12 17:01:21 +10:00
Siddharth Purohit 28288a7329 BoardConfig_CAN: remove singleton interface for slcan_router 2019-07-08 12:18:29 +10:00
Siddharth Purohit 1cd8e0e237 BoardConfig: set slcan can port to 0 as default
This is to ensure that can bus filters are actually used
2019-07-08 12:18:29 +10:00
Jonathan Challinger 1829fcfd98 AP_BoardConfig: fix build for CubeBlack 2019-04-25 14:15:27 -07:00
Jonathan Challinger af4611c050 AP_BoardConfig: fix unused function error 2019-04-24 11:45:14 +10:00
Jonathan Challinger 94b8f2e37a AP_BoardConfig: fix build 2019-04-24 11:45:14 +10:00
Jonathan Challinger 40684b95d7 AP_BoardConfig: changes in response to review 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
Jonathan Challinger faa5a3c453 AP_BoardConfig: add targetted check for cube black internal sensors 2019-04-24 11:45:14 +10:00
Andrew Tridgell a4ab44a7b3 AP_BoardConfig: auto-restore safety state on watchdog reset 2019-04-22 16:53:35 +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
Randy Mackay 543bb289f4 AP_BoardConfig: fix SLCAN param descriptions 2019-03-28 13:54:24 +09:00
Siddharth Purohit cf7e95eaba BoardConfig: add detection procedure for new sensor configurations 2019-03-06 20:47:10 +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
Peter Barker f2e31bb880 AP_BoardConfig_CAN: const some accessors 2019-02-19 09:16:26 +11:00
Tom Pittenger ab95c8e5ee AP_BoardConfig: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Siddharth Purohit 3255d793c0 BoardConfig: disable SLCAN for minimized features 2019-01-29 13:40:35 +09: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
Siddharth Purohit 5cbe8eb5ee BoardConfig: fix description for SLCAN parameters 2019-01-23 15:57:05 +11:00
Siddharth Purohit 2c0521654c AP_BoardConfig: split SLCAN Interface params to there own class 2019-01-23 15:57:05 +11:00
Siddharth Purohit 7912952afe BoardConfig_CAN: reset slcan port state at restart 2019-01-23 15:57:05 +11:00
Siddharth Purohit 979a8dea6d BoardConfig_CAN: add parameters for serial port selection and timeout 2019-01-23 15:57:05 +11:00
Siddharth Purohit 2790d27976 AP_BoardConfig: add config for SLCAN routing 2019-01-23 15:57:05 +11:00
Andrew Tridgell 8a8308df38 AP_BoardConfig: removed F4Light 2019-01-21 21:57:21 +11:00
Randy Mackay a37c86af6e AP_BoardConfig: add ToshibaCAN 2019-01-18 17:30:28 +11:00
Francisco Ferreira 37965b13b6
AP_BoardConfig: support KDECAN
Until #9397 is fixed, we need to have separate params for each driver type, but code was left as generic as possible
2019-01-18 00:57:33 +00: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 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
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
Peter Barker 45ac3e6bb2 AP_BoardConfig: correct grammar in @DisplayName 2018-08-21 20:34:01 +09:00
Francisco Ferreira b7a3e1ae77
AP_BoardConfig_CAN: put debug code behind compile-time flag
And disable it by default
2018-08-12 13:35:02 +01:00
Francisco Ferreira 4b4ba66987
AP_BoardConfig_CAN: add singleton and do naming cleanup
Also added more getter methods
2018-08-12 13:35:02 +01:00
Francisco Ferreira 1cfb38b4ee
AP_BoardConfig_CAN: adapt to new CANProtocol interface 2018-08-12 13:35:02 +01: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
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
Lucas De Marchi 0606b00f15 AP_BoardConfig: don't try to set pwm mode for aerofc-v1
We don't have that in aerofc, so don't try to initialize it and fail
with following error messages:

    RCOutput: unable to setup AUX PWM with BRD_PWM_COUNT 0
2018-08-01 16:49:08 -07:00
Andrew Tridgell ed09467f06 AP_BoardConfig: removed verbose SPI probe debug messages
these are just confusing for users
2018-07-14 17:51:50 +10:00