File tree Expand file tree Collapse file tree 20 files changed +558
-288
lines changed Expand file tree Collapse file tree 20 files changed +558
-288
lines changed Original file line number Diff line number Diff line change @@ -140,16 +140,18 @@ menu "On-chip Peripheral Drivers"
140
140
select RT_USING_RTC
141
141
default n
142
142
if BSP_USING_ONCHIP_RTC
143
- choice
144
- prompt "Select clock source"
145
- default BSP_RTC_USING_LSE
146
-
147
- config BSP_RTC_USING_LSE
148
- bool "RTC USING LSE"
149
-
150
- config BSP_RTC_USING_LSI
151
- bool "RTC USING LSI"
152
- endchoice
143
+ if RT_USING_ALARM
144
+ choice
145
+ prompt "Select rtc alarm device"
146
+ default BSP_USING_ALARM0
147
+
148
+ config BSP_USING_ALARM0
149
+ bool "Enable RTC Alarm0"
150
+
151
+ config BSP_USING_ALARM1
152
+ bool "Enable RTC Alarm1"
153
+ endchoice
154
+ endif
153
155
endif
154
156
155
157
config BSP_USING_WDT
Original file line number Diff line number Diff line change @@ -136,16 +136,18 @@ menu "On-chip Peripheral Drivers"
136
136
select RT_USING_RTC
137
137
default n
138
138
if BSP_USING_ONCHIP_RTC
139
- choice
140
- prompt "Select clock source"
141
- default BSP_RTC_USING_LSE
142
-
143
- config BSP_RTC_USING_LSE
144
- bool "RTC USING LSE"
145
-
146
- config BSP_RTC_USING_LSI
147
- bool "RTC USING LSI"
148
- endchoice
139
+ if RT_USING_ALARM
140
+ choice
141
+ prompt "Select rtc alarm device"
142
+ default BSP_USING_ALARM0
143
+
144
+ config BSP_USING_ALARM0
145
+ bool "Enable RTC Alarm0"
146
+
147
+ config BSP_USING_ALARM1
148
+ bool "Enable RTC Alarm1"
149
+ endchoice
150
+ endif
149
151
endif
150
152
151
153
config BSP_USING_WDT
Original file line number Diff line number Diff line change @@ -144,16 +144,18 @@ menu "On-chip Peripheral Drivers"
144
144
select RT_USING_RTC
145
145
default n
146
146
if BSP_USING_ONCHIP_RTC
147
- choice
148
- prompt "Select clock source"
149
- default BSP_RTC_USING_LSE
150
-
151
- config BSP_RTC_USING_LSE
152
- bool "RTC USING LSE"
153
-
154
- config BSP_RTC_USING_LSI
155
- bool "RTC USING LSI"
156
- endchoice
147
+ if RT_USING_ALARM
148
+ choice
149
+ prompt "Select rtc alarm device"
150
+ default BSP_USING_ALARM0
151
+
152
+ config BSP_USING_ALARM0
153
+ bool "Enable RTC Alarm0"
154
+
155
+ config BSP_USING_ALARM1
156
+ bool "Enable RTC Alarm1"
157
+ endchoice
158
+ endif
157
159
endif
158
160
159
161
config BSP_USING_WDT
Original file line number Diff line number Diff line change @@ -136,16 +136,18 @@ menu "On-chip Peripheral Drivers"
136
136
select RT_USING_RTC
137
137
default n
138
138
if BSP_USING_ONCHIP_RTC
139
- choice
140
- prompt "Select clock source"
141
- default BSP_RTC_USING_LSE
142
-
143
- config BSP_RTC_USING_LSE
144
- bool "RTC USING LSE"
145
-
146
- config BSP_RTC_USING_LSI
147
- bool "RTC USING LSI"
148
- endchoice
139
+ if RT_USING_ALARM
140
+ choice
141
+ prompt "Select rtc alarm device"
142
+ default BSP_USING_ALARM0
143
+
144
+ config BSP_USING_ALARM0
145
+ bool "Enable RTC Alarm0"
146
+
147
+ config BSP_USING_ALARM1
148
+ bool "Enable RTC Alarm1"
149
+ endchoice
150
+ endif
149
151
endif
150
152
151
153
config BSP_USING_WDT
Original file line number Diff line number Diff line change @@ -140,16 +140,18 @@ menu "On-chip Peripheral Drivers"
140
140
select RT_USING_RTC
141
141
default n
142
142
if BSP_USING_ONCHIP_RTC
143
- choice
144
- prompt "Select clock source"
145
- default BSP_RTC_USING_LSE
146
-
147
- config BSP_RTC_USING_LSE
148
- bool "RTC USING LSE"
149
-
150
- config BSP_RTC_USING_LSI
151
- bool "RTC USING LSI"
152
- endchoice
143
+ if RT_USING_ALARM
144
+ choice
145
+ prompt "Select rtc alarm device"
146
+ default BSP_USING_ALARM0
147
+
148
+ config BSP_USING_ALARM0
149
+ bool "Enable RTC Alarm0"
150
+
151
+ config BSP_USING_ALARM1
152
+ bool "Enable RTC Alarm1"
153
+ endchoice
154
+ endif
153
155
endif
154
156
155
157
config BSP_USING_WDT
Original file line number Diff line number Diff line change @@ -170,16 +170,18 @@ menu "On-chip Peripheral Drivers"
170
170
select RT_USING_RTC
171
171
default n
172
172
if BSP_USING_ONCHIP_RTC
173
- choice
174
- prompt "Select clock source"
175
- default BSP_RTC_USING_LSE
176
-
177
- config BSP_RTC_USING_LSE
178
- bool "RTC USING LSE"
179
-
180
- config BSP_RTC_USING_LSI
181
- bool "RTC USING LSI"
182
- endchoice
173
+ if RT_USING_ALARM
174
+ choice
175
+ prompt "Select rtc alarm device"
176
+ default BSP_USING_ALARM0
177
+
178
+ config BSP_USING_ALARM0
179
+ bool "Enable RTC Alarm0"
180
+
181
+ config BSP_USING_ALARM1
182
+ bool "Enable RTC Alarm1"
183
+ endchoice
184
+ endif
183
185
endif
184
186
185
187
config BSP_USING_WDT
Original file line number Diff line number Diff line change @@ -140,16 +140,18 @@ menu "On-chip Peripheral Drivers"
140
140
select RT_USING_RTC
141
141
default n
142
142
if BSP_USING_ONCHIP_RTC
143
- choice
144
- prompt "Select clock source"
145
- default BSP_RTC_USING_LSE
146
-
147
- config BSP_RTC_USING_LSE
148
- bool "RTC USING LSE"
149
-
150
- config BSP_RTC_USING_LSI
151
- bool "RTC USING LSI"
152
- endchoice
143
+ if RT_USING_ALARM
144
+ choice
145
+ prompt "Select rtc alarm device"
146
+ default BSP_USING_ALARM0
147
+
148
+ config BSP_USING_ALARM0
149
+ bool "Enable RTC Alarm0"
150
+
151
+ config BSP_USING_ALARM1
152
+ bool "Enable RTC Alarm1"
153
+ endchoice
154
+ endif
153
155
endif
154
156
155
157
config BSP_USING_WDT
Original file line number Diff line number Diff line change @@ -136,16 +136,18 @@ menu "On-chip Peripheral Drivers"
136
136
select RT_USING_RTC
137
137
default n
138
138
if BSP_USING_ONCHIP_RTC
139
- choice
140
- prompt "Select clock source"
141
- default BSP_RTC_USING_LSE
142
-
143
- config BSP_RTC_USING_LSE
144
- bool "RTC USING LSE"
145
-
146
- config BSP_RTC_USING_LSI
147
- bool "RTC USING LSI"
148
- endchoice
139
+ if RT_USING_ALARM
140
+ choice
141
+ prompt "Select rtc alarm device"
142
+ default BSP_USING_ALARM0
143
+
144
+ config BSP_USING_ALARM0
145
+ bool "Enable RTC Alarm0"
146
+
147
+ config BSP_USING_ALARM1
148
+ bool "Enable RTC Alarm1"
149
+ endchoice
150
+ endif
149
151
endif
150
152
151
153
config BSP_USING_WDT
Original file line number Diff line number Diff line change @@ -137,16 +137,18 @@ menu "On-chip Peripheral Drivers"
137
137
select RT_USING_RTC
138
138
default n
139
139
if BSP_USING_ONCHIP_RTC
140
- choice
141
- prompt "Select clock source"
142
- default BSP_RTC_USING_LSE
143
-
144
- config BSP_RTC_USING_LSE
145
- bool "RTC USING LSE"
146
-
147
- config BSP_RTC_USING_LSI
148
- bool "RTC USING LSI"
149
- endchoice
140
+ if RT_USING_ALARM
141
+ choice
142
+ prompt "Select rtc alarm device"
143
+ default BSP_USING_ALARM0
144
+
145
+ config BSP_USING_ALARM0
146
+ bool "Enable RTC Alarm0"
147
+
148
+ config BSP_USING_ALARM1
149
+ bool "Enable RTC Alarm1"
150
+ endchoice
151
+ endif
150
152
endif
151
153
152
154
config BSP_USING_WDT
Original file line number Diff line number Diff line change @@ -314,16 +314,18 @@ menu "On-chip Peripheral Drivers"
314
314
select RT_USING_RTC
315
315
default n
316
316
if BSP_USING_ONCHIP_RTC
317
- choice
318
- prompt "Select clock source"
319
- default BSP_RTC_USING_LSE
320
-
321
- config BSP_RTC_USING_LSE
322
- bool "RTC USING LSE"
323
-
324
- config BSP_RTC_USING_LSI
325
- bool "RTC USING LSI"
326
- endchoice
317
+ if RT_USING_ALARM
318
+ choice
319
+ prompt "Select rtc alarm device"
320
+ default BSP_USING_ALARM0
321
+
322
+ config BSP_USING_ALARM0
323
+ bool "Enable RTC Alarm0"
324
+
325
+ config BSP_USING_ALARM1
326
+ bool "Enable RTC Alarm1"
327
+ endchoice
328
+ endif
327
329
endif
328
330
329
331
config BSP_USING_WDT
You can’t perform that action at this time.
0 commit comments