File tree Expand file tree Collapse file tree 10 files changed +36
-1
lines changed Expand file tree Collapse file tree 10 files changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ config HWINFO_STM32
23
23
bool "STM32 hwinfo"
24
24
default y
25
25
depends on SOC_FAMILY_STM32
26
- select USE_STM32_LL_UTILS
27
26
select HWINFO_HAS_DRIVER
28
27
help
29
28
Enable STM32 hwinfo driver.
Original file line number Diff line number Diff line change 71
71
#include <stm32f0xx_ll_dma.h>
72
72
#endif
73
73
74
+ #ifdef CONFIG_HWINFO_STM32
75
+ #include <stm32f0xx_ll_utils.h>
76
+ #endif
77
+
74
78
#endif /* !_ASMLANGUAGE */
75
79
76
80
#endif /* _STM32F0_SOC_H_ */
Original file line number Diff line number Diff line change 71
71
#include <stm32f1xx_ll_dma.h>
72
72
#endif
73
73
74
+ #ifdef CONFIG_HWINFO_STM32
75
+ #include <stm32f1xx_ll_utils.h>
76
+ #endif
77
+
74
78
#endif /* !_ASMLANGUAGE */
75
79
76
80
#endif /* _STM32F1_SOC_H_ */
Original file line number Diff line number Diff line change 62
62
#include <stm32f2xx_ll_dma.h>
63
63
#endif
64
64
65
+ #ifdef CONFIG_HWINFO_STM32
66
+ #include <stm32f2xx_ll_utils.h>
67
+ #endif
68
+
65
69
#endif /* !_ASMLANGUAGE */
66
70
67
71
#endif /* _STM32F2_SOC_H_ */
Original file line number Diff line number Diff line change 78
78
#include <stm32f3xx_ll_dma.h>
79
79
#endif
80
80
81
+ #ifdef CONFIG_HWINFO_STM32
82
+ #include <stm32f3xx_ll_utils.h>
83
+ #endif
84
+
81
85
#endif /* !_ASMLANGUAGE */
82
86
83
87
#endif /* _STM32F3_SOC_H_ */
Original file line number Diff line number Diff line change 80
80
#include <stm32f4xx_ll_dma.h>
81
81
#endif
82
82
83
+ #ifdef CONFIG_HWINFO_STM32
84
+ #include <stm32f4xx_ll_utils.h>
85
+ #endif
86
+
83
87
#endif /* !_ASMLANGUAGE */
84
88
85
89
#endif /* _STM32F4_SOC_H_ */
Original file line number Diff line number Diff line change 79
79
#include <stm32f7xx_ll_dma.h>
80
80
#endif
81
81
82
+ #ifdef CONFIG_HWINFO_STM32
83
+ #include <stm32f7xx_ll_utils.h>
84
+ #endif
85
+
82
86
#endif /* !_ASMLANGUAGE */
83
87
84
88
#endif /* _STM32F7_SOC_H_ */
Original file line number Diff line number Diff line change 52
52
#include <stm32g0xx_ll_usart.h>
53
53
#endif
54
54
55
+ #ifdef CONFIG_HWINFO_STM32
56
+ #include <stm32g0xx_ll_utils.h>
57
+ #endif
58
+
55
59
/* Add include for DTS generated information */
56
60
#include <devicetree.h>
57
61
Original file line number Diff line number Diff line change 78
78
#include <stm32g4xx_ll_pwr.h>
79
79
#endif
80
80
81
+ #ifdef CONFIG_HWINFO_STM32
82
+ #include <stm32g4xx_ll_utils.h>
83
+ #endif
84
+
81
85
#endif /* !_ASMLANGUAGE */
82
86
83
87
#endif /* _STM32G4_SOC_H_ */
Original file line number Diff line number Diff line change 60
60
#include <stm32h7xx_ll_usart.h>
61
61
#endif /* CONFIG_SERIAL_HAS_DRIVER */
62
62
63
+ #ifdef CONFIG_HWINFO_STM32
64
+ #include <stm32h7xx_ll_utils.h>
65
+ #endif
66
+
63
67
#endif /* !_ASMLANGUAGE */
64
68
65
69
#endif /* _STM32F7_SOC_H7_ */
You can’t perform that action at this time.
0 commit comments