Commit Graph

16 Commits

Author SHA1 Message Date
Peter Barker f2e31bb880 AP_BoardConfig_CAN: const some accessors 2019-02-19 09:16:26 +11:00
Siddharth Purohit 3255d793c0 BoardConfig: disable SLCAN for minimized features 2019-01-29 13:40:35 +09:00
Siddharth Purohit 2c0521654c AP_BoardConfig: split SLCAN Interface params to there own class 2019-01-23 15:57:05 +11:00
Siddharth Purohit 979a8dea6d BoardConfig_CAN: add parameters for serial port selection and timeout 2019-01-23 15:57:05 +11:00
Siddharth Purohit 2790d27976 AP_BoardConfig: add config for SLCAN routing 2019-01-23 15:57:05 +11:00
Randy Mackay a37c86af6e AP_BoardConfig: add ToshibaCAN 2019-01-18 17:30:28 +11:00
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
2019-01-18 00:57:33 +00: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
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