Browse Source

[bsp][nxp][frdm-mcxn236] remove sdio and eth

there's no sdio/eth in HW, remove it
Jisheng Zhang 1 year ago
parent
commit
7523f40701

+ 0 - 2
bsp/nxp/mcx/mcxn/frdm-mcxn236/.config

@@ -1221,8 +1221,6 @@ CONFIG_BSP_USING_UART2=y
 # CONFIG_BSP_USING_SPI is not set
 # CONFIG_BSP_USING_ADC is not set
 # CONFIG_BSP_USING_DAC is not set
-# CONFIG_BSP_USING_SDIO is not set
-# CONFIG_BSP_USING_ETH is not set
 # CONFIG_BSP_USING_RTC is not set
 # CONFIG_BSP_USING_WDT is not set
 # CONFIG_BSP_USING_HWTIMER is not set

+ 0 - 13
bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c

@@ -41,19 +41,6 @@ int main(void)
 
     rt_kprintf("MCXN236 HelloWorld\r\n");
 
-
-#ifdef RT_USING_SDIO
-    rt_thread_mdelay(2000);
-    if (dfs_mount("sd", "/", "elm", 0, NULL) == 0)
-    {
-        rt_kprintf("sd mounted to /\n");
-    }
-    else
-    {
-        rt_kprintf("sd mount to / failed\n");
-    }
-#endif
-
     while (1)
     {
         rt_pin_write(LEDB_PIN, PIN_HIGH);    /* Set GPIO output 1 */

+ 0 - 14
bsp/nxp/mcx/mcxn/frdm-mcxn236/board/Kconfig

@@ -168,20 +168,6 @@ menu "On-chip Peripheral Drivers"
 
             endif
 
-    config BSP_USING_SDIO
-        bool "Enable SDIO SD Card Interface"
-        select RT_USING_SDIO
-        select RT_USING_DFS
-        select RT_USING_DFS_ELMFAT
-        default y
-
-    config BSP_USING_ETH
-        bool "Enable Ethernet"
-        default n
-        select RT_USING_LWIP
-        select RT_USING_NETDEV
-        select RT_USING_SAL
-        
     config BSP_USING_RTC
         bool "Enable RTC"
         select RT_USING_RTC