add module in config.h

This commit is contained in:
graduateDesign 2021-10-09 00:34:35 +08:00
parent 9b3b58e923
commit 286eb4286d
2 changed files with 4 additions and 1 deletions

View File

@ -75,6 +75,9 @@
#define HAL_GPIO_MODULE_ENABLED
#define HAL_PWR_MODULE_ENABLED
#define HAL_RCC_MODULE_ENABLED
#define HAL_UART_MODULE_ENABLED
#define HAL_TIM_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED
/* ########################## Oscillator Values adaptation ####################*/
/**

View File

@ -338,7 +338,7 @@
<v6Rtti>0</v6Rtti>
<VariousControls>
<MiscControls></MiscControls>
<Define>USE_HAL_DRIVER,STM32F103xB,HAL_ADC_MODULE_ENABLED,HAL_UART_MODULE_ENABLED,HAL_TIM_MODULE_ENABLED</Define>
<Define>USE_HAL_DRIVER,STM32F103xB</Define>
<Undefine></Undefine>
<IncludePath>../Core/Inc; ../Drivers/STM32F1xx_HAL_Driver/Inc; ../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy; ../Drivers/CMSIS/Device/ST/STM32F1xx/Include; ../Drivers/CMSIS/Include; ..\pikascript\pikascript-core; ..\pikascript\pikascript-lib\STM32; ..\pikascript\pikascript-api</IncludePath>
</VariousControls>