Clean up, update some variants

This commit is contained in:
Scott Lahteine
2021-04-10 20:09:15 -05:00
parent 6ab7baa413
commit c35e271dba
20 changed files with 1141 additions and 1310 deletions

View File

@@ -100,9 +100,7 @@ const PinMap PinMap_I2C_SDA[] = {
#endif
{NC, NP, 0}
};
#endif
#ifdef HAL_I2C_MODULE_ENABLED
const PinMap PinMap_I2C_SCL[] = {
{PA_8, I2C3, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C3)},
{PB_6, I2C1, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C1)},

View File

@@ -14,7 +14,7 @@
#define HAL_USART_MODULE_ENABLED
#define HAL_CORTEX_MODULE_ENABLED
//#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 // Automatically added if any type of USB is enabled, as in Arduino IDE. (STM32 v3.10700.191028)
//#define HAL_SD_MODULE_ENABLED
//#define HAL_DAC_MODULE_ENABLED