summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2024-06-25 23:41:19 +0800
committerMeco Man <[email protected]>2024-06-26 23:54:42 +0800
commit7523f40701128e617b27256972b18a7914608fde (patch)
tree199399e24d981cb1d964365e835122d35cdb37cf
parent63578802b9be53bc95a4942cb45876e8cc5c697a (diff)
[bsp][nxp][frdm-mcxn236] remove sdio and eth
there's no sdio/eth in HW, remove it
-rw-r--r--bsp/nxp/mcx/mcxn/frdm-mcxn236/.config2
-rw-r--r--bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c13
-rw-r--r--bsp/nxp/mcx/mcxn/frdm-mcxn236/board/Kconfig14
3 files changed, 0 insertions, 29 deletions
diff --git a/bsp/nxp/mcx/mcxn/frdm-mcxn236/.config b/bsp/nxp/mcx/mcxn/frdm-mcxn236/.config
index c1836c7a45..50b95c94a3 100644
--- a/bsp/nxp/mcx/mcxn/frdm-mcxn236/.config
+++ b/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
diff --git a/bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c b/bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c
index 1d883aeacb..28ae752624 100644
--- a/bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c
+++ b/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 */
diff --git a/bsp/nxp/mcx/mcxn/frdm-mcxn236/board/Kconfig b/bsp/nxp/mcx/mcxn/frdm-mcxn236/board/Kconfig
index 44f287a0f2..4b3433b462 100644
--- a/bsp/nxp/mcx/mcxn/frdm-mcxn236/board/Kconfig
+++ b/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