let's build for h7

This commit is contained in:
rusefillc 2021-02-05 21:37:33 -05:00
parent 9d77a35b5a
commit ac6c8a6c9f
5 changed files with 10 additions and 0 deletions

View File

@ -21,8 +21,10 @@
#define DRV8860_POLL_INTERVAL_MS 500
struct drv8860_config {
#if HAL_USE_SPI
SPIDriver *spi_bus;
SPIConfig spi_config;
#endif
struct {
ioportid_t port;
uint_fast8_t pad;

View File

@ -22,8 +22,10 @@
#define MC33810_POLL_INTERVAL_MS 100
struct mc33810_config {
#if HAL_USE_SPI
SPIDriver *spi_bus;
SPIConfig spi_config;
#endif
/* First 4 is injector drivers, then 4 ignition pre-drivers */
struct {
ioportid_t port;

View File

@ -18,8 +18,10 @@
#define MC33972_POLL_INTERVAL_MS 100
struct mc33972_config {
#if HAL_USE_SPI
SPIDriver *spi_bus;
SPIConfig spi_config;
#endif
};
#ifdef __cplusplus

View File

@ -19,8 +19,10 @@
#define TLE6240_POLL_INTERVAL_MS 100
struct tle6240_config {
#if HAL_USE_SPI
SPIDriver *spi_bus;
SPIConfig spi_config;
#endif
struct {
ioportid_t port;
uint_fast8_t pad;

View File

@ -39,8 +39,10 @@
/* note that spi transfer should be LSB first */
struct tle8888_config {
#if HAL_USE_SPI
SPIDriver *spi_bus;
SPIConfig spi_config;
#endif
/* bidirectional, check DS */
struct {
ioportid_t port;