File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed
Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ menu "Board extended module"
3737 bool "LoRa Shield"
3838 default n
3939 if ART_PI_USING_LORA_SHIELD_LRS007
40- config LORA_EXPANSION_SHIELD_USING_LRS007_RF_A
40+ config ART_PI_USING_LORA_SHIELD_LRS007_RF_A
4141 select BSP_USING_SPI
4242 select BSP_USING_SPI2
43- bool "Use LRS007 RF_A Channel"
43+ bool "Enable LRS007 RF_A Channel"
4444 default n
45- config LORA_EXPANSION_SHIELD_USING_LRS007_RF_B
45+ config ART_PI_USING_LORA_SHIELD_LRS007_RF_B
4646 select BSP_USING_SPI
4747 select BSP_USING_SPI4
48- bool "Use LRS007 RF_B Channel"
48+ bool "Enable LRS007 RF_B Channel"
4949 default n
5050 endif
5151
@@ -213,7 +213,7 @@ menu "On-chip Peripheral"
213213 config BSP_USING_DCMI
214214 bool "Enable DCMI"
215215 default n
216-
216+
217217 menuconfig BSP_USING_TIM
218218 bool "Enable timer"
219219 default n
@@ -222,8 +222,12 @@ menu "On-chip Peripheral"
222222 config BSP_USING_TIM13
223223 bool "Enable TIM13"
224224 default n
225- endif
225+ endif
226226
227+ config BSP_USING_ONCHIP_RTC
228+ bool "Enable Onchip RTC"
229+ select RT_USING_RTC
230+ default n
227231endmenu
228232
229233endmenu
@@ -246,10 +250,10 @@ menu "External Libraries"
246250 select RT_USING_RYM
247251 default n
248252
249- config ART_PI_TouchGFX_LIB
253+ config ART_PI_TouchGFX_LIB
250254 bool "Using TouchGFX Library"
251255 select BSP_USING_LCD
252256 select RT_USING_CPLUSPLUS
253257 default n
254-
258+
255259endmenu
Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ if GetDepend(['BSP_USING_TIM']):
3333if GetDepend (['RT_USING_I2C' , 'RT_USING_I2C_BITOPS' ]):
3434 if GetDepend ('BSP_USING_I2C1' ) or GetDepend ('BSP_USING_I2C2' ) or GetDepend ('BSP_USING_I2C3' ) or GetDepend ('BSP_USING_I2C4' ):
3535 src += ['drv_soft_i2c.c' ]
36+
37+ if GetDepend (['BSP_USING_ONCHIP_RTC' ]):
38+ src += Glob ('drv_rtc.c' )
3639
3740path = [cwd ]
3841path += [cwd + '/include' ]
You can’t perform that action at this time.
0 commit comments