1
- diff --git a/include/libopencm3/stm32/g4/iwdg.h b/include/libopencm3/stm32/g4/iwdg.h
2
- new file mode 100644
3
- index 00000000..ce321c16
4
- --- /dev/null
5
- +++ b/include/libopencm3/stm32/g4/iwdg.h
6
- @@ -0,0 +1,33 @@
7
- + /** @defgroup iwdg_defines IWDG Defines
8
- + *
9
- + * @ingroup STM32G4xx_defines
10
- + *
11
- + * @brief <b>Defined Constants and Types for the STM32G4xx Independent Watchdog Timer</b>
12
- + *
13
- + * @version 1.0.0
14
- + *
15
- + * LGPL License Terms @ref lgpl_license
16
- + * */
17
- + /*
18
- + * This file is part of the libopencm3 project.
19
- + *
20
- + * This library is free software: you can redistribute it and/or modify
21
- + * it under the terms of the GNU Lesser General Public License as published by
22
- + * the Free Software Foundation, either version 3 of the License, or
23
- + * (at your option) any later version.
24
- + *
25
- + * This library is distributed in the hope that it will be useful,
26
- + * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
- + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
- + * GNU Lesser General Public License for more details.
29
- + *
30
- + * You should have received a copy of the GNU Lesser General Public License
31
- + * along with this library. If not, see <http://www.gnu.org/licenses/>.
32
- + */
33
- +
34
- + #ifndef LIBOPENCM3_IWDG_H
35
- + #define LIBOPENCM3_IWDG_H
36
- +
37
- + #include <libopencm3/stm32/common/iwdg_common_v2.h>
38
- +
39
- + #endif
40
1
diff --git a/include/libopencm3/stm32/g4/rtc.h b/include/libopencm3/stm32/g4/rtc.h
41
2
new file mode 100644
42
3
index 00000000..d631fd90
@@ -79,19 +40,6 @@ index 00000000..d631fd90
79
40
+ #include <libopencm3/stm32/common/rtc_common_l1f024.h>
80
41
+
81
42
+ #endif
82
- diff --git a/include/libopencm3/stm32/iwdg.h b/include/libopencm3/stm32/iwdg.h
83
- index b94b8741..5572e25f 100644
84
- --- a/include/libopencm3/stm32/iwdg.h
85
- +++ b/include/libopencm3/stm32/iwdg.h
86
- @@ -40,6 +40,8 @@
87
- # include <libopencm3/stm32/l4/iwdg.h>
88
- #elif defined(STM32G0)
89
- # include <libopencm3/stm32/g0/iwdg.h>
90
- + #elif defined(STM32G4)
91
- + # include <libopencm3/stm32/g4/iwdg.h>
92
- #else
93
- # error "stm32 family not defined."
94
- #endif
95
43
diff --git a/include/libopencm3/stm32/rtc.h b/include/libopencm3/stm32/rtc.h
96
44
index 53118d3c..d4a20e7f 100644
97
45
--- a/include/libopencm3/stm32/rtc.h
@@ -113,7 +61,7 @@ index c6924130..836d69c3 100644
113
61
OBJS += flash.o flash_common_all.o flash_common_f.o flash_common_idcache.o
114
62
OBJS += gpio_common_all.o gpio_common_f0234.o
115
63
OBJS += i2c_common_v2.o
116
- + OBJS += iwdg_common_all.o
64
+ OBJS += iwdg_common_all.o
117
65
OBJS += opamp_common_all.o opamp_common_v2.o
118
66
OBJS += pwr.o
119
67
OBJS += rcc.o rcc_common_all.o
0 commit comments