From 904b2db132b161700de884f8c29778863c5b54a9 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Fri, 5 Feb 2021 20:25:01 -0500 Subject: [PATCH] let's build for h7 --- firmware/config/stm32h7ems/halconf.h | 10 +++++----- firmware/config/stm32h7ems/mcuconf.h | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/firmware/config/stm32h7ems/halconf.h b/firmware/config/stm32h7ems/halconf.h index 35761c37af..cd749e20ca 100644 --- a/firmware/config/stm32h7ems/halconf.h +++ b/firmware/config/stm32h7ems/halconf.h @@ -114,7 +114,7 @@ * @brief Enables the MMC_SPI subsystem. */ #if !defined(HAL_USE_MMC_SPI) || defined(__DOXYGEN__) -#define HAL_USE_MMC_SPI FALSE +#define HAL_USE_MMC_SPI TRUE #endif /** @@ -128,7 +128,7 @@ * @brief Enables the RTC subsystem. */ #if !defined(HAL_USE_RTC) || defined(__DOXYGEN__) -#define HAL_USE_RTC FALSE +#define HAL_USE_RTC TRUE #endif /** @@ -149,7 +149,7 @@ * @brief Enables the SERIAL over USB subsystem. */ #if !defined(HAL_USE_SERIAL_USB) || defined(__DOXYGEN__) -#define HAL_USE_SERIAL_USB FALSE +#define HAL_USE_SERIAL_USB TRUE #endif /** @@ -163,7 +163,7 @@ * @brief Enables the SPI subsystem. */ #if !defined(HAL_USE_SPI) || defined(__DOXYGEN__) -#define HAL_USE_SPI FALSE +#define HAL_USE_SPI TRUE #endif /** @@ -184,7 +184,7 @@ * @brief Enables the USB subsystem. */ #if !defined(HAL_USE_USB) || defined(__DOXYGEN__) -#define HAL_USE_USB FALSE +#define HAL_USE_USB TRUE #endif /** diff --git a/firmware/config/stm32h7ems/mcuconf.h b/firmware/config/stm32h7ems/mcuconf.h index f12bfbc82c..3bdc400cdb 100644 --- a/firmware/config/stm32h7ems/mcuconf.h +++ b/firmware/config/stm32h7ems/mcuconf.h @@ -378,9 +378,9 @@ /* * SPI driver system settings. */ -#define STM32_SPI_USE_SPI1 FALSE -#define STM32_SPI_USE_SPI2 FALSE -#define STM32_SPI_USE_SPI3 FALSE +#define STM32_SPI_USE_SPI1 TRUE +#define STM32_SPI_USE_SPI2 TRUE +#define STM32_SPI_USE_SPI3 TRUE #define STM32_SPI_USE_SPI4 FALSE #define STM32_SPI_USE_SPI5 FALSE #define STM32_SPI_USE_SPI6 FALSE @@ -461,7 +461,7 @@ /* * USB driver system settings. */ -#define STM32_USB_USE_OTG1 FALSE +#define STM32_USB_USE_OTG1 TRUE #define STM32_USB_USE_OTG2 FALSE #define STM32_USB_OTG1_IRQ_PRIORITY 14 #define STM32_USB_OTG2_IRQ_PRIORITY 14