Tweak disabled variant options

This commit is contained in:
Scott Lahteine 2021-03-20 22:39:13 -05:00 committed by Scott Lahteine
parent a9f022dacf
commit b4617e7904
4 changed files with 136 additions and 136 deletions

View file

@ -16,37 +16,37 @@
//#define HAL_UART_MODULE_ENABLED // by default //#define HAL_UART_MODULE_ENABLED // by default
//#define HAL_PCD_MODULE_ENABLED // Since STM32 v3.10700.191028 this is automatically added if any type of USB is enabled (as in Arduino IDE) //#define HAL_PCD_MODULE_ENABLED // Since STM32 v3.10700.191028 this is automatically added if any type of USB is enabled (as in Arduino IDE)
#undef HAL_SD_MODULE_ENABLED //#define HAL_SD_MODULE_ENABLED
#undef HAL_DAC_MODULE_ENABLED //#define HAL_DAC_MODULE_ENABLED
#undef HAL_FLASH_MODULE_ENABLED //#define HAL_FLASH_MODULE_ENABLED
#undef HAL_CAN_MODULE_ENABLED //#define HAL_CAN_MODULE_ENABLED
#undef HAL_CAN_LEGACY_MODULE_ENABLED //#define HAL_CAN_LEGACY_MODULE_ENABLED
#undef HAL_CEC_MODULE_ENABLED //#define HAL_CEC_MODULE_ENABLED
#undef HAL_CRYP_MODULE_ENABLED //#define HAL_CRYP_MODULE_ENABLED
#undef HAL_DCMI_MODULE_ENABLED //#define HAL_DCMI_MODULE_ENABLED
#undef HAL_DMA2D_MODULE_ENABLED //#define HAL_DMA2D_MODULE_ENABLED
#undef HAL_ETH_MODULE_ENABLED //#define HAL_ETH_MODULE_ENABLED
#undef HAL_NAND_MODULE_ENABLED //#define HAL_NAND_MODULE_ENABLED
#undef HAL_NOR_MODULE_ENABLED //#define HAL_NOR_MODULE_ENABLED
#undef HAL_PCCARD_MODULE_ENABLED //#define HAL_PCCARD_MODULE_ENABLED
#undef HAL_SRAM_MODULE_ENABLED //#define HAL_SRAM_MODULE_ENABLED
#undef HAL_SDRAM_MODULE_ENABLED //#define HAL_SDRAM_MODULE_ENABLED
#undef HAL_HASH_MODULE_ENABLED //#define HAL_HASH_MODULE_ENABLED
#undef HAL_EXTI_MODULE_ENABLED //#define HAL_EXTI_MODULE_ENABLED
#undef HAL_SMBUS_MODULE_ENABLED //#define HAL_SMBUS_MODULE_ENABLED
#undef HAL_I2S_MODULE_ENABLED //#define HAL_I2S_MODULE_ENABLED
#undef HAL_IWDG_MODULE_ENABLED //#define HAL_IWDG_MODULE_ENABLED
#undef HAL_LTDC_MODULE_ENABLED //#define HAL_LTDC_MODULE_ENABLED
#undef HAL_DSI_MODULE_ENABLED //#define HAL_DSI_MODULE_ENABLED
#undef HAL_QSPI_MODULE_ENABLED //#define HAL_QSPI_MODULE_ENABLED
#undef HAL_RNG_MODULE_ENABLED //#define HAL_RNG_MODULE_ENABLED
#undef HAL_SAI_MODULE_ENABLED //#define HAL_SAI_MODULE_ENABLED
#undef HAL_IRDA_MODULE_ENABLED //#define HAL_IRDA_MODULE_ENABLED
#undef HAL_SMARTCARD_MODULE_ENABLED //#define HAL_SMARTCARD_MODULE_ENABLED
#undef HAL_WWDG_MODULE_ENABLED //#define HAL_WWDG_MODULE_ENABLED
//#undef HAL_HCD_MODULE_ENABLED //#define HAL_HCD_MODULE_ENABLED
#undef HAL_FMPI2C_MODULE_ENABLED //#define HAL_FMPI2C_MODULE_ENABLED
#undef HAL_SPDIFRX_MODULE_ENABLED //#define HAL_SPDIFRX_MODULE_ENABLED
#undef HAL_DFSDM_MODULE_ENABLED //#define HAL_DFSDM_MODULE_ENABLED
#undef HAL_LPTIM_MODULE_ENABLED //#define HAL_LPTIM_MODULE_ENABLED
#undef HAL_MMC_MODULE_ENABLED //#define HAL_MMC_MODULE_ENABLED

View file

@ -16,37 +16,37 @@
//#define HAL_UART_MODULE_ENABLED // by default //#define HAL_UART_MODULE_ENABLED // by default
//#define HAL_PCD_MODULE_ENABLED // Since STM32 v3.10700.191028 this is automatically added if any type of USB is enabled (as in Arduino IDE) //#define HAL_PCD_MODULE_ENABLED // Since STM32 v3.10700.191028 this is automatically added if any type of USB is enabled (as in Arduino IDE)
#undef HAL_SD_MODULE_ENABLED //#define HAL_SD_MODULE_ENABLED
#undef HAL_DAC_MODULE_ENABLED //#define HAL_DAC_MODULE_ENABLED
#undef HAL_FLASH_MODULE_ENABLED //#define HAL_FLASH_MODULE_ENABLED
#undef HAL_CAN_MODULE_ENABLED //#define HAL_CAN_MODULE_ENABLED
#undef HAL_CAN_LEGACY_MODULE_ENABLED //#define HAL_CAN_LEGACY_MODULE_ENABLED
#undef HAL_CEC_MODULE_ENABLED //#define HAL_CEC_MODULE_ENABLED
#undef HAL_CRYP_MODULE_ENABLED //#define HAL_CRYP_MODULE_ENABLED
#undef HAL_DCMI_MODULE_ENABLED //#define HAL_DCMI_MODULE_ENABLED
#undef HAL_DMA2D_MODULE_ENABLED //#define HAL_DMA2D_MODULE_ENABLED
#undef HAL_ETH_MODULE_ENABLED //#define HAL_ETH_MODULE_ENABLED
#undef HAL_NAND_MODULE_ENABLED //#define HAL_NAND_MODULE_ENABLED
#undef HAL_NOR_MODULE_ENABLED //#define HAL_NOR_MODULE_ENABLED
#undef HAL_PCCARD_MODULE_ENABLED //#define HAL_PCCARD_MODULE_ENABLED
#undef HAL_SRAM_MODULE_ENABLED //#define HAL_SRAM_MODULE_ENABLED
#undef HAL_SDRAM_MODULE_ENABLED //#define HAL_SDRAM_MODULE_ENABLED
#undef HAL_HASH_MODULE_ENABLED //#define HAL_HASH_MODULE_ENABLED
#undef HAL_EXTI_MODULE_ENABLED //#define HAL_EXTI_MODULE_ENABLED
#undef HAL_SMBUS_MODULE_ENABLED //#define HAL_SMBUS_MODULE_ENABLED
#undef HAL_I2S_MODULE_ENABLED //#define HAL_I2S_MODULE_ENABLED
#undef HAL_IWDG_MODULE_ENABLED //#define HAL_IWDG_MODULE_ENABLED
#undef HAL_LTDC_MODULE_ENABLED //#define HAL_LTDC_MODULE_ENABLED
#undef HAL_DSI_MODULE_ENABLED //#define HAL_DSI_MODULE_ENABLED
#undef HAL_QSPI_MODULE_ENABLED //#define HAL_QSPI_MODULE_ENABLED
#undef HAL_RNG_MODULE_ENABLED //#define HAL_RNG_MODULE_ENABLED
#undef HAL_SAI_MODULE_ENABLED //#define HAL_SAI_MODULE_ENABLED
#undef HAL_IRDA_MODULE_ENABLED //#define HAL_IRDA_MODULE_ENABLED
#undef HAL_SMARTCARD_MODULE_ENABLED //#define HAL_SMARTCARD_MODULE_ENABLED
#undef HAL_WWDG_MODULE_ENABLED //#define HAL_WWDG_MODULE_ENABLED
//#undef HAL_HCD_MODULE_ENABLED //#define HAL_HCD_MODULE_ENABLED
#undef HAL_FMPI2C_MODULE_ENABLED //#define HAL_FMPI2C_MODULE_ENABLED
#undef HAL_SPDIFRX_MODULE_ENABLED //#define HAL_SPDIFRX_MODULE_ENABLED
#undef HAL_DFSDM_MODULE_ENABLED //#define HAL_DFSDM_MODULE_ENABLED
#undef HAL_LPTIM_MODULE_ENABLED //#define HAL_LPTIM_MODULE_ENABLED
#undef HAL_MMC_MODULE_ENABLED //#define HAL_MMC_MODULE_ENABLED

View file

@ -33,55 +33,55 @@ extern "C" {
*/ */
#define HAL_MODULE_ENABLED #define HAL_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED #define HAL_ADC_MODULE_ENABLED
/* #define HAL_CAN_MODULE_ENABLED */ //#define HAL_CAN_MODULE_ENABLED
/* #define HAL_CAN_LEGACY_MODULE_ENABLED */ //#define HAL_CAN_LEGACY_MODULE_ENABLED
#define HAL_CRC_MODULE_ENABLED #define HAL_CRC_MODULE_ENABLED
/* #define HAL_CEC_MODULE_ENABLED */ //#define HAL_CEC_MODULE_ENABLED
/* #define HAL_CRYP_MODULE_ENABLED */ //#define HAL_CRYP_MODULE_ENABLED
//#define HAL_DAC_MODULE_ENABLED //#define HAL_DAC_MODULE_ENABLED
/* #define HAL_DCMI_MODULE_ENABLED */ //#define HAL_DCMI_MODULE_ENABLED
#define HAL_DMA_MODULE_ENABLED #define HAL_DMA_MODULE_ENABLED
/* #define HAL_DMA2D_MODULE_ENABLED */ //#define HAL_DMA2D_MODULE_ENABLED
/* #define HAL_ETH_MODULE_ENABLED */ //#define HAL_ETH_MODULE_ENABLED
#define HAL_FLASH_MODULE_ENABLED #define HAL_FLASH_MODULE_ENABLED
/* #define HAL_NAND_MODULE_ENABLED */ //#define HAL_NAND_MODULE_ENABLED
/* #define HAL_NOR_MODULE_ENABLED */ //#define HAL_NOR_MODULE_ENABLED
/* #define HAL_PCCARD_MODULE_ENABLED */ //#define HAL_PCCARD_MODULE_ENABLED
/* #define HAL_SRAM_MODULE_ENABLED */ //#define HAL_SRAM_MODULE_ENABLED
/* #define HAL_SDRAM_MODULE_ENABLED */ //#define HAL_SDRAM_MODULE_ENABLED
/* #define HAL_HASH_MODULE_ENABLED */ //#define HAL_HASH_MODULE_ENABLED
#define HAL_GPIO_MODULE_ENABLED #define HAL_GPIO_MODULE_ENABLED
/* #define HAL_EXTI_MODULE_ENABLED */ //#define HAL_EXTI_MODULE_ENABLED
#define HAL_I2C_MODULE_ENABLED #define HAL_I2C_MODULE_ENABLED
/* #define HAL_SMBUS_MODULE_ENABLED */ //#define HAL_SMBUS_MODULE_ENABLED
/* #define HAL_I2S_MODULE_ENABLED */ //#define HAL_I2S_MODULE_ENABLED
#define HAL_IWDG_MODULE_ENABLED #define HAL_IWDG_MODULE_ENABLED
/* #define HAL_LTDC_MODULE_ENABLED */ //#define HAL_LTDC_MODULE_ENABLED
/* #define HAL_DSI_MODULE_ENABLED */ //#define HAL_DSI_MODULE_ENABLED
#define HAL_PWR_MODULE_ENABLED #define HAL_PWR_MODULE_ENABLED
/* #define HAL_QSPI_MODULE_ENABLED */ //#define HAL_QSPI_MODULE_ENABLED
#define HAL_RCC_MODULE_ENABLED #define HAL_RCC_MODULE_ENABLED
/* #define HAL_RNG_MODULE_ENABLED */ //#define HAL_RNG_MODULE_ENABLED
#define HAL_RTC_MODULE_ENABLED #define HAL_RTC_MODULE_ENABLED
/* #define HAL_SAI_MODULE_ENABLED */ //#define HAL_SAI_MODULE_ENABLED
//#define HAL_SD_MODULE_ENABLED //#define HAL_SD_MODULE_ENABLED
#define HAL_SPI_MODULE_ENABLED #define HAL_SPI_MODULE_ENABLED
#define HAL_TIM_MODULE_ENABLED #define HAL_TIM_MODULE_ENABLED
/* #define HAL_UART_MODULE_ENABLED */ //#define HAL_UART_MODULE_ENABLED
/* #define HAL_USART_MODULE_ENABLED */ //#define HAL_USART_MODULE_ENABLED
/* #define HAL_IRDA_MODULE_ENABLED */ //#define HAL_IRDA_MODULE_ENABLED
/* #define HAL_SMARTCARD_MODULE_ENABLED */ //#define HAL_SMARTCARD_MODULE_ENABLED
/* #define HAL_WWDG_MODULE_ENABLED */ //#define HAL_WWDG_MODULE_ENABLED
#define HAL_CORTEX_MODULE_ENABLED #define HAL_CORTEX_MODULE_ENABLED
#ifndef HAL_PCD_MODULE_ENABLED #ifndef HAL_PCD_MODULE_ENABLED
#define HAL_PCD_MODULE_ENABLED //Since STM32 v3.10700.191028 this is automatically added if any type of USB is enabled (as in Arduino IDE) #define HAL_PCD_MODULE_ENABLED //Since STM32 v3.10700.191028 this is automatically added if any type of USB is enabled (as in Arduino IDE)
#endif #endif
/* #define HAL_HCD_MODULE_ENABLED */ //#define HAL_HCD_MODULE_ENABLED
/* #define HAL_FMPI2C_MODULE_ENABLED */ //#define HAL_FMPI2C_MODULE_ENABLED
/* #define HAL_SPDIFRX_MODULE_ENABLED */ //#define HAL_SPDIFRX_MODULE_ENABLED
/* #define HAL_DFSDM_MODULE_ENABLED */ //#define HAL_DFSDM_MODULE_ENABLED
/* #define HAL_LPTIM_MODULE_ENABLED */ //#define HAL_LPTIM_MODULE_ENABLED
/* #define HAL_MMC_MODULE_ENABLED */ //#define HAL_MMC_MODULE_ENABLED
/* ########################## HSE/HSI Values adaptation ##################### */ /* ########################## HSE/HSI Values adaptation ##################### */
/** /**

View file

@ -37,7 +37,7 @@
#define HAL_MODULE_ENABLED #define HAL_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED #define HAL_ADC_MODULE_ENABLED
//#define HAL_CAN_MODULE_ENABLED //#define HAL_CAN_MODULE_ENABLED
/* #define HAL_CAN_LEGACY_MODULE_ENABLED */ #define HAL_CAN_LEGACY_MODULE_ENABLED
#define HAL_CRC_MODULE_ENABLED #define HAL_CRC_MODULE_ENABLED
//#define HAL_CEC_MODULE_ENABLED //#define HAL_CEC_MODULE_ENABLED
//#define HAL_CRYP_MODULE_ENABLED //#define HAL_CRYP_MODULE_ENABLED