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
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
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
Eugene Shamaev
56cc0d3ef7
AP_BoardConfig: comments
2018-06-09 22:46:48 -07:00
Eugene Shamaev
857bd4f775
AP_BoardConfig: reducing indenting by linearizing the logic
2018-06-09 22:46:48 -07: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
Michael du Breuil
a47bda0b41
AP_BoardConfig: Fix param doc for BRD_SAFETYOPTION
2018-05-08 17:18:03 +10: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
13cf72ac32
AP_BoardConfig: allow override of PWM count in hwdef.dat
2018-04-09 15:32:04 +10:00
Andrew Tridgell
f7ec2618a3
AP_BoardConfig: added SP01 board type
2018-02-14 18:27:00 +11:00
Tom Pittenger
3105fd56bc
AP_BoardConfig: add param defaults for EMLID_EDGE for CAN_DRIVER=1
2018-02-13 15:29:53 +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
abd659212e
AP_BoardConfig: fixed device semaphore in board detect
...
thanks to Mark for finding this
2018-02-09 10:14:46 +11:00
Andrew Tridgell
3afaf81ccc
AP_BoardConfig: added param object for AP_Radio
2018-02-08 17:36:33 +11:00
Siddharth Purohit
a413fef77f
AP_BoardConfig: add support for UAVCAN setup on ChibiOS boards
2018-02-07 20:33:45 +11:00
LukeMike
ccb316f3f3
VRBRAIN / AP_BoardConfig: some update for new VR Brain 5.2E (EEPROM version)
2018-02-05 08:26:49 +11:00
LukeMike
505497b555
VRBRAIN / AP_BoardConfig: added fmu_mode parameter for VR Brain boards
2018-02-05 08:26:49 +11:00
LukeMike
b7985f77b5
VRBRAIN / AP_BoardConfig: added VR Brain boards into board_setup_drivers and board_autodetect
2018-02-05 08:26:49 +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
Nikita Tomilov
1549b1a52a
AP_BoardConfig: CAN: Merge PX4 and Linux CAN setup
...
Here we merge PX4 and Linux CAN bus setup since the interface is almost
the same for both of them.
2018-01-17 07:24:17 -08:00
Nikita Tomilov
43bfcbc8e2
AP_HAL_Linux: CAN: Rename CANDriver -> CANManager
2018-01-17 07:24:17 -08:00
Nikita Tomilov
d0fc481202
AP_HAL_Linux: CAN: Rename Linux::LinuxCAN -> Linux::CAN
2018-01-17 07:24:17 -08:00
Alexey Bulatov
606eb05c95
AP_BoardConfig: Linux CAN initialisation
2018-01-17 07:24:17 -08:00
Andrew Tridgell
ff87d27143
AP_BoardConfig: fixed return of get_pwm_count()
...
thanks to Michael for noticing
2018-01-15 11:46:02 +11:00
Andrew Tridgell
5458377e67
AP_BoardConfig: support MindPX-v2
2018-01-15 11:46:02 +11:00
Andrew Tridgell
02c3bea5a5
AP_BoardConfig: support ChibiOS FMUv4
2018-01-15 11:46:02 +11:00
Andrew Tridgell
82cc36d6d0
AP_BoardConfig: called board_setup() even without autodetect
...
we need to init hal.rcou and hal.gpio
2018-01-15 11:46:02 +11:00
Andrew Tridgell
b1ebbd1a1c
AP_BoardConfig: enable auto-detect only on FMUv3
...
F412 should not do board detection
2018-01-15 11:46:02 +11:00
Andrew Tridgell
60b1eab06d
AP_BoardConfig: added get_pwm_count()
2018-01-15 11:46:02 +11:00