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
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
Alexey Bulatov
606eb05c95
AP_BoardConfig: Linux CAN initialisation
2018-01-17 07:24:17 -08:00
Andrew Tridgell
accac344f2
AP_BoardConfig: support ChibiOS as well as NuttX
...
allow for board detection with ChibiOS
2018-01-15 11:46:02 +11:00
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
2017-12-14 08:12:28 +11:00
Lucas De Marchi
ef3edc531c
AP_BoardConfig: add static create method
2017-09-26 03:01:21 +01:00
Eugene Shamaev
a7921a273b
AP_BoardConfig: move of CAN parameters into separate group and support of several interfaces
2017-07-03 11:44:32 +01:00