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
Siddharth Purohit
a413fef77f
AP_BoardConfig: add support for UAVCAN setup on ChibiOS boards
7 years ago
LukeMike
ccb316f3f3
VRBRAIN / AP_BoardConfig: some update for new VR Brain 5.2E (EEPROM version)
7 years ago
LukeMike
505497b555
VRBRAIN / AP_BoardConfig: added fmu_mode parameter for VR Brain boards
7 years ago
LukeMike
b7985f77b5
VRBRAIN / AP_BoardConfig: added VR Brain boards into board_setup_drivers and board_autodetect
7 years ago
LukeMike
6b820ac9e4
VRBRAIN / AP_BoardConfig: added VR Brain define into px4_board_type enum
7 years ago
Andrew Tridgell
f8a3b0e753
AP_BoardConfig: improved board config
...
use hwdef.dat to enable RTSCTS and SBUS_OUT
7 years ago
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.
7 years ago
Nikita Tomilov
43bfcbc8e2
AP_HAL_Linux: CAN: Rename CANDriver -> CANManager
7 years ago
Nikita Tomilov
d0fc481202
AP_HAL_Linux: CAN: Rename Linux::LinuxCAN -> Linux::CAN
7 years ago
Alexey Bulatov
606eb05c95
AP_BoardConfig: Linux CAN initialisation
7 years ago
Andrew Tridgell
ff87d27143
AP_BoardConfig: fixed return of get_pwm_count()
...
thanks to Michael for noticing
7 years ago
Andrew Tridgell
5458377e67
AP_BoardConfig: support MindPX-v2
7 years ago
Andrew Tridgell
02c3bea5a5
AP_BoardConfig: support ChibiOS FMUv4
7 years ago
Andrew Tridgell
82cc36d6d0
AP_BoardConfig: called board_setup() even without autodetect
...
we need to init hal.rcou and hal.gpio
7 years ago
Andrew Tridgell
b1ebbd1a1c
AP_BoardConfig: enable auto-detect only on FMUv3
...
F412 should not do board detection
7 years ago
Andrew Tridgell
60b1eab06d
AP_BoardConfig: added get_pwm_count()
7 years ago
Andrew Tridgell
e88fe93688
AP_BoardConfig: init chibios IO after boardconfig
...
this allows for the init to use parameters such as BRD_IO_ENABLE from
AP_BoardConfig
7 years ago
Andrew Tridgell
7cb1c0420a
AP_BoardConfig: include BRD_IO_ENABLE on ChibiOS
7 years ago
Andrew Tridgell
13f4780815
AP_BoardConfig: make a singleton
...
allows for io_enabled() static function
7 years ago
Andrew Tridgell
accac344f2
AP_BoardConfig: support ChibiOS as well as NuttX
...
allow for board detection with ChibiOS
7 years ago
Andrew Tridgell
a4d2d79ce7
AP_BoardConfig: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Mark Whitehorn
560402bad4
AP_BoardConfig: clarify PX4IO SBUS enable message
7 years ago
DOMINATOR\Eugene
4c6f954cdf
AP_BoardConfig: separation of parameter groups
7 years ago
proficnc
6a94d285de
AP_BoardConfig: fixed description to warn against
...
setting the wrong heater value in params
7 years ago
Lucas De Marchi
ef3edc531c
AP_BoardConfig: add static create method
7 years ago
Peter Barker
b8d3d180d1
AP_BoardConfig: clarify board type 2 also to be used on the Cube autopilot
8 years ago
Kevin Lopez Alvarez
a5a5bd3a95
AP_BoardConfig: Remove comments and use correct board number
8 years ago