File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
libraries/SrcWrapper/src/stm32 Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 2121extern "C" {
2222#endif
2323
24+ #if defined(STM32H7xx )
25+ #if !defined(USE_PWR_LDO_SUPPLY ) && !defined(USE_PWR_DIRECT_SMPS_SUPPLY ) && \
26+ !defined(USE_PWR_EXTERNAL_SOURCE_SUPPLY ) && !defined(USE_PWR_SMPS_1V8_SUPPLIES_LDO ) && \
27+ !defined(USE_PWR_SMPS_2V5_SUPPLIES_LDO ) && !defined(USE_PWR_SMPS_1V8_SUPPLIES_EXT_AND_LDO ) && \
28+ !defined(USE_PWR_SMPS_2V5_SUPPLIES_EXT_AND_LDO ) && !defined(USE_PWR_SMPS_1V8_SUPPLIES_EXT ) && \
29+ !defined(USE_PWR_SMPS_2V5_SUPPLIES_EXT )
30+ #pragma message "\n\
31+ Configure the system power supply according to the\n\
32+ definition to be used at compilation preprocessing level.\n\
33+ The application shall set one of the following configuration option:\n\
34+ - USE_PWR_LDO_SUPPLY\n\
35+ - USE_PWR_DIRECT_SMPS_SUPPLY\n\
36+ - USE_PWR_EXTERNAL_SOURCE_SUPPLY\n\
37+ - USE_PWR_SMPS_1V8_SUPPLIES_LDO\n\
38+ - USE_PWR_SMPS_2V5_SUPPLIES_LDO\n\
39+ - USE_PWR_SMPS_1V8_SUPPLIES_EXT_AND_LDO\n\
40+ - USE_PWR_SMPS_2V5_SUPPLIES_EXT_AND_LDO\n\
41+ - USE_PWR_SMPS_1V8_SUPPLIES_EXT\n\
42+ - USE_PWR_SMPS_2V5_SUPPLIES_EXT\n"
43+ #endif
44+ #endif
45+
2446#if defined(HAL_CRC_MODULE_ENABLED )
2547CRC_HandleTypeDef hcrc = {.Instance =
2648#if defined(CRC2_BASE )
You can’t perform that action at this time.
0 commit comments