LukeMike
f615ab9a0a
HAL_ChibiOS: added ChibiOS configuration for VR Brain 5.1
6 years ago
Siddharth Purohit
5cbe8eb5ee
BoardConfig: fix description for SLCAN parameters
6 years ago
Siddharth Purohit
2c0521654c
AP_BoardConfig: split SLCAN Interface params to there own class
6 years ago
Siddharth Purohit
7912952afe
BoardConfig_CAN: reset slcan port state at restart
6 years ago
Siddharth Purohit
979a8dea6d
BoardConfig_CAN: add parameters for serial port selection and timeout
6 years ago
Siddharth Purohit
2790d27976
AP_BoardConfig: add config for SLCAN routing
6 years ago
Andrew Tridgell
8a8308df38
AP_BoardConfig: removed F4Light
6 years ago
Randy Mackay
a37c86af6e
AP_BoardConfig: add ToshibaCAN
6 years ago
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
6 years ago
LukeMike
a0a477795e
AP_BoardConfig: added reference to HAL ChibiOS Arch for VR Brain boards
6 years ago
Michael du Breuil
ba49e9e17c
AP_BoardConfig: Add safety option off
6 years ago
Andrew Tridgell
ba4e4e2e82
AP_BoardConfig: fixed example builds
...
don't try to use GCS calls in examples
6 years ago
Andrew Tridgell
f13dc69c3d
AP_BoardConfig: fixed param handling in sensor error
...
allow users to set parameters to recover their boards
6 years ago
Andrew Tridgell
3a9d8448b1
AP_BoardConfig: added BRD_SD_SLOWDOWN parameter
...
allows for reduction in microSD clock speed
6 years ago
Andrew Tridgell
ba379d0b18
AP_BoardConfig: fixed param syntax for voltages
6 years ago
Michael du Breuil
6a41f0c86a
AP_BoardConfig: Add minimum board and servo voltage parameters
6 years ago
Andrew Tridgell
3505314e64
AP_BoardConfig: updated BRD_PWM_COUNT docs
...
This reflects the use of this parameter under ChibiOS
6 years ago
Kevin Lopez Alvarez
9f97172cce
AP_BoardConfig: add ChibiOS FMUv4pro defines
6 years ago
Andrew Tridgell
cd9179e733
AP_BoardConfig: fixed for 8 PWM outputs in IOMCU
6 years ago
Peter Barker
45ac3e6bb2
AP_BoardConfig: correct grammar in @DisplayName
7 years ago
Francisco Ferreira
b7a3e1ae77
AP_BoardConfig_CAN: put debug code behind compile-time flag
...
And disable it by default
7 years ago
Francisco Ferreira
4b4ba66987
AP_BoardConfig_CAN: add singleton and do naming cleanup
...
Also added more getter methods
7 years ago
Francisco Ferreira
1cfb38b4ee
AP_BoardConfig_CAN: adapt to new CANProtocol interface
7 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
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.
7 years ago
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.
7 years ago
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
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
2a62938fb1
AP_BoardConfig: enable get_board_type() on all boards
...
return BOARD_TYPE_UNKNOWN for boards that don't use board detection
7 years ago
Andrew Tridgell
e52176e23b
AP_BoardConfig: allow hwdef.dat override of BRD_TYPE
7 years ago
Peter Barker
22a94addd5
AP_BoardConfig: add parameters for AP_RTC
7 years ago
Peter Barker
59d1d8aecc
AP_BoardConfig: instantiate an RTC
...
AP_BoardConfig: set RTC from hw clock at startup
7 years ago
Eugene Shamaev
56cc0d3ef7
AP_BoardConfig: comments
7 years ago
Eugene Shamaev
857bd4f775
AP_BoardConfig: reducing indenting by linearizing the logic
7 years ago
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
7 years ago
Andrew Tridgell
751f290be6
AP_BoardConfig: setup FMUv5 for board detection
7 years ago
Andrew Tridgell
99ca0ea913
AP_BoardConfig: moved BRD_PWM_COUNT to common code
...
this allows all boards to configure some PWM outputs as GPIOs
7 years ago
Eugene Shamaev
7a67c82026
AP_BoardConfig: HAL_RCINPUT_WITH_AP_RADIO definition
7 years ago
Michael du Breuil
a47bda0b41
AP_BoardConfig: Fix param doc for BRD_SAFETYOPTION
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
60f79921ac
AP_BoardConfig: added get_safety_mask()
7 years ago
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
7 years ago
kozinalexey
db6c6b1677
AP_BoardConfig: allow PWM count setting on all chibios boards
7 years ago
Andrew Tridgell
d8abf647e8
AP_BoardConfig: added BRD_SAFETYOPTION parameter
...
allow control of safety button behaviour
7 years ago
Andrew Tridgell
13cf72ac32
AP_BoardConfig: allow override of PWM count in hwdef.dat
7 years ago
Andrew Tridgell
f7ec2618a3
AP_BoardConfig: added SP01 board type
7 years ago
Tom Pittenger
3105fd56bc
AP_BoardConfig: add param defaults for EMLID_EDGE for CAN_DRIVER=1
7 years ago
Andrew Tridgell
682dcb65cf
AP_BoardConfig: added param helper for HAL parameters
...
only for HAL_REVOMINI for now
7 years ago
Andrew Tridgell
abd659212e
AP_BoardConfig: fixed device semaphore in board detect
...
thanks to Mark for finding this
7 years ago
Andrew Tridgell
3afaf81ccc
AP_BoardConfig: added param object for AP_Radio
7 years ago