boards: add new spi+i2c config

Chip-select and SPI initialization uses the new config, whereas the drivers
still use the existing defines.

The configuration in board_config.h can be removed after all drivers are
updated.
This commit is contained in:
Beat Küng
2020-03-10 10:11:43 -04:00
committed by Daniel Agar
parent 06712450a7
commit 1851665fab
142 changed files with 2607 additions and 5655 deletions
+1
View File
@@ -41,6 +41,7 @@
#define _DEVICE_I2C_H
#include "../CDev.hpp"
#include <px4_platform_common/i2c.h>
namespace device __EXPORT
{
+1
View File
@@ -41,6 +41,7 @@
#define _DEVICE_SPI_H
#include "../CDev.hpp"
#include <px4_platform_common/spi.h>
#ifdef __PX4_LINUX