Commit Graph

231 Commits

Author SHA1 Message Date
Andrew Tridgell 4b047625fc AP_BoardConfig: use polarity for 3.3/5v selection 2020-07-21 08:47:27 +10:00
murata 91101aac01 AP_BoardConfig: Define a method class
AP_BoardConfig: Define a method class
2020-06-30 09:21:16 +10:00
Andrew Tridgell d7555b4b86 AP_BoardConfig: invalidate param count when changing param tree structure 2020-04-29 07:36:55 +10:00
Andrew Tridgell 764117c336 AP_BoardConfig: fixed build warning 2020-04-28 10:32:23 +10:00
Peter Barker f9c4976f93 AP_BoardConfig: add HEAT log message documentation 2020-04-12 08:36:48 +10:00
bugobliterator 8a77ddf8c6 AP_BoardConfig: run validation test if declared under hwdef 2020-04-10 07:04:21 +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 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
2020-01-19 20:19:30 +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
Oliver Walters 7c3391d0d8 AP_BoardConfig: added support for Piccolo CAN ESCs 2019-12-22 09:48:40 +11:00
Andrew Tridgell 88e5e54770 AP_BoardConfig: removed duplicate define for RTSCTS 2019-12-18 17:18:44 +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
Andrew Tridgell c173af993a AP_BoardConfig: fixed debug code 2019-11-20 21:20:32 +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
Peter Barker 9aaa6c49fa AP_BoardConfig: correct include of AP_Vehicle_Type 2019-10-08 11:26:04 +11:00
Andrew Tridgell 4866fd68b5 AP_BoardConfig: fixed CAN init without SLCAN 2019-10-08 10:02:14 +11:00
Andrew Tridgell 6b3c10f0e7 AP_BoardConfig: cleanup ifdefs for SLCAN enable 2019-10-08 10:02:14 +11:00
bugobliterator ee6f912217 AP_BoardConfig: add support for CubeBlackPlus 2019-09-16 12:53:44 +10: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
Michael du Breuil 53860b53ac AP_BoardConfig: Remove the usage of force_safety_no_wait 2019-09-04 07:14:50 +10:00
Andrew Tridgell 444af9e638 AP_BoardConfig: fixed AP_Periph build error 2019-08-27 10:29:56 +10:00
Siddharth Purohit 10e8e8e9cc AP_BoardConfig_CAN: fix bad get_slcan_serial method 2019-07-31 17:24:13 +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
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