WBI\nxf44444 пре 5 година
родитељ
комит
361a2aa587
1 измењених фајлова са 21 додато и 139 уклоњено
  1. 21 139
      bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig

+ 21 - 139
bsp/imxrt/imxrt1052-nxp-evk/board/Kconfig

@@ -12,16 +12,6 @@ config SOC_MIMXRT1052DVL6B
     select RT_USING_USER_MAIN
     default y
 
-menu "Onboard Peripheral Drivers"
-
-    config BSP_USING_POT
-        bool "Enable potentiometer"
-        select BSP_USING_ADC
-        select BSP_USING_ADC1
-        default n 
-
-endmenu
-
 menu "On-chip Peripheral Drivers"
 
     config BSP_USING_DMA
@@ -95,61 +85,6 @@ menu "On-chip Peripheral Drivers"
                         int "Set LPUART3 TX DMA channel (0-32)"
                         default 1
         endif
-	menuconfig BSP_USING_HWTIMER
-        bool "Enable GPT"
-        default n
-        select RT_USING_HWTIMER
-        if BSP_USING_HWTIMER
-            config BSP_USING_HWTIMER1
-                bool "Enable GPT1"
-                default n
-
-            config BSP_USING_HWTIMER2
-                bool "Enable GPT2"
-                default n
-        endif
-
-    menuconfig BSP_USING_PWM
-        bool "Enable PWM"
-        default n
-        select RT_USING_PWM
-        if BSP_USING_PWM
-            menuconfig BSP_USING_PWM1
-                bool "Enable output pwm1"
-                default n
-                if BSP_USING_PWM1
-                    config BSP_USING_PWM1_CH3
-                        bool "Enable PWM1 channel3"
-                        default n
-                endif
-
-            menuconfig BSP_USING_PWM4
-                bool "Enable output pwm4"
-                default n
-                if BSP_USING_PWM4
-                    config BSP_USING_PWM4_CH0
-                        bool "Enable PWM4 channel0"
-                        default n
-
-                    config BSP_USING_PWM4_CH1
-                        bool "Enable PWM4 channel1"
-                        default n
-                endif
-        endif
-    menuconfig BSP_USING_SPI
-        bool "Enable SPI"
-        default n
-        select RT_USING_SPI
-        if BSP_USING_SPI
-            menuconfig BSP_USING_SPI1
-                bool "Enable SPI1"
-                default n
-                if BSP_USING_SPI1
-                    config BSP_SPI1_USING_DMA
-                         bool "Enable SPI1 DMA"
-                         default n
-				endif		 
-        endif
 
     menuconfig BSP_USING_I2C
         bool "Enable I2C"
@@ -170,51 +105,6 @@ menu "On-chip Peripheral Drivers"
                     bool "Badurate 400kHZ"
             endchoice
         endif
-
-    config BSP_USING_RTC
-        bool "Enable RTC"
-        select RT_USING_RTC
-        default n
-		
-    menuconfig BSP_USING_ADC
-        bool "Enable ADC"
-        default n
-        select RT_USING_ADC
-        if BSP_USING_ADC
-            config BSP_USING_ADC1
-                bool "Enable ADC1"
-                default n
-        endif
-
-    config BSP_USING_ON_CHIP_FLASH
-        bool "Enable on-chip FLASH"
-        default n 	
-		
-	menuconfig BSP_USING_WDT
-        bool "Enable Watchdog Timer"
-        select RT_USING_WDT
-        default n	
-		if BSP_USING_WDT
-            config BSP_USING_WDT1
-                bool "Enable WDT1"
-                default n
-			config BSP_USING_WDT3
-                bool "Enable WDT3"
-                default n
-        endif
-	menuconfig BSP_USING_CAN
-        bool "Enable CAN"
-        select RT_USING_CAN
-        default n	
-		if BSP_USING_CAN
-            config BSP_USING_CAN1"
-                bool "Enable CAN1"			
-                default n
-			config BSP_USING_CAN2
-                bool "Enable CAN2"
-                default n
-        endif		
-
 endmenu
 
 menu "Onboard Peripheral Drivers"
@@ -227,6 +117,7 @@ menu "Onboard Peripheral Drivers"
 	bool "Enable Ethernet"
 	select RT_USING_NETDEV
 	default n
+    
 
 	if BSP_USING_ETH
 		config BSP_USING_PHY
@@ -261,45 +152,36 @@ menu "Onboard Peripheral Drivers"
         endif
 	endif
 	
-    menuconfig BSP_USING_SDIO
-	bool "Enable SDcard"
-	select RT_USING_SDIO
-	select RT_USING_DFS_DEVFS
-    select RT_USING_DFS
-	select RT_USING_DFS_ELMFAT
-	default n
-	
-    config BSP_USING_AUDIO
-        bool "Enable AUDIO (WM8960)"
-        select BSP_USING_I2C1
-        select RT_USING_AUDIO
-        default n
+    menuconfig BSP_USING_AUDIO
+    bool "Enable AUDIO (WM8960)"
+    select BSP_USING_I2C1
+    select RT_USING_AUDIO
+    default n
         
-        if BSP_USING_AUDIO
-            menuconfig BSP_USING_AUDIO_PLAY
+    if BSP_USING_AUDIO
+        config BSP_USING_AUDIO_PLAY
             bool "Enable Audio Play"
             default y
-			    if BSP_USING_AUDIO_PLAY
-                    config BSP_AUDIO_USING_DMA
-                        bool "Enable AUDIO DMA"
-                        default y
-				endif
+        if BSP_USING_AUDIO_PLAY
+            config BSP_AUDIO_USING_DMA
+                bool "Enable AUDIO DMA"
+                default y
+        endif
 
-            menuconfig BSP_USING_AUDIO_RECORD
+        config BSP_USING_AUDIO_RECORD
             bool "Enable Audio Record"
             select BSP_USING_AUDIO_PLAY
             default n
-			    if BSP_USING_AUDIO_RECORD
-                    config BSP_AUDIO_USING_DMA
-                        bool "Enable AUDIO DMA"
-                        default n
-				endif			
-        endif 
-
+        if BSP_USING_AUDIO_RECORD
+            config BSP_AUDIO_USING_DMA
+                bool "Enable AUDIO DMA"
+                default n
+        endif			
+    endif 	
 endmenu
 
 menu "Board extended module Drivers"
 
 endmenu
 
-endmenu
+endmenu