let's build for h7
This commit is contained in:
parent
9d77a35b5a
commit
ac6c8a6c9f
|
@ -21,8 +21,10 @@
|
||||||
#define DRV8860_POLL_INTERVAL_MS 500
|
#define DRV8860_POLL_INTERVAL_MS 500
|
||||||
|
|
||||||
struct drv8860_config {
|
struct drv8860_config {
|
||||||
|
#if HAL_USE_SPI
|
||||||
SPIDriver *spi_bus;
|
SPIDriver *spi_bus;
|
||||||
SPIConfig spi_config;
|
SPIConfig spi_config;
|
||||||
|
#endif
|
||||||
struct {
|
struct {
|
||||||
ioportid_t port;
|
ioportid_t port;
|
||||||
uint_fast8_t pad;
|
uint_fast8_t pad;
|
||||||
|
|
|
@ -22,8 +22,10 @@
|
||||||
#define MC33810_POLL_INTERVAL_MS 100
|
#define MC33810_POLL_INTERVAL_MS 100
|
||||||
|
|
||||||
struct mc33810_config {
|
struct mc33810_config {
|
||||||
|
#if HAL_USE_SPI
|
||||||
SPIDriver *spi_bus;
|
SPIDriver *spi_bus;
|
||||||
SPIConfig spi_config;
|
SPIConfig spi_config;
|
||||||
|
#endif
|
||||||
/* First 4 is injector drivers, then 4 ignition pre-drivers */
|
/* First 4 is injector drivers, then 4 ignition pre-drivers */
|
||||||
struct {
|
struct {
|
||||||
ioportid_t port;
|
ioportid_t port;
|
||||||
|
|
|
@ -18,8 +18,10 @@
|
||||||
#define MC33972_POLL_INTERVAL_MS 100
|
#define MC33972_POLL_INTERVAL_MS 100
|
||||||
|
|
||||||
struct mc33972_config {
|
struct mc33972_config {
|
||||||
|
#if HAL_USE_SPI
|
||||||
SPIDriver *spi_bus;
|
SPIDriver *spi_bus;
|
||||||
SPIConfig spi_config;
|
SPIConfig spi_config;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -19,8 +19,10 @@
|
||||||
#define TLE6240_POLL_INTERVAL_MS 100
|
#define TLE6240_POLL_INTERVAL_MS 100
|
||||||
|
|
||||||
struct tle6240_config {
|
struct tle6240_config {
|
||||||
|
#if HAL_USE_SPI
|
||||||
SPIDriver *spi_bus;
|
SPIDriver *spi_bus;
|
||||||
SPIConfig spi_config;
|
SPIConfig spi_config;
|
||||||
|
#endif
|
||||||
struct {
|
struct {
|
||||||
ioportid_t port;
|
ioportid_t port;
|
||||||
uint_fast8_t pad;
|
uint_fast8_t pad;
|
||||||
|
|
|
@ -39,8 +39,10 @@
|
||||||
|
|
||||||
/* note that spi transfer should be LSB first */
|
/* note that spi transfer should be LSB first */
|
||||||
struct tle8888_config {
|
struct tle8888_config {
|
||||||
|
#if HAL_USE_SPI
|
||||||
SPIDriver *spi_bus;
|
SPIDriver *spi_bus;
|
||||||
SPIConfig spi_config;
|
SPIConfig spi_config;
|
||||||
|
#endif
|
||||||
/* bidirectional, check DS */
|
/* bidirectional, check DS */
|
||||||
struct {
|
struct {
|
||||||
ioportid_t port;
|
ioportid_t port;
|
||||||
|
|
Loading…
Reference in New Issue