From b04e7a18c73c0dde3b9e3458955c13b41a28f9f4 Mon Sep 17 00:00:00 2001 From: Ahmet Alincak Date: Fri, 11 Dec 2020 23:50:48 +0300 Subject: [PATCH] Add SD component and Update SD card SPI interface To support MAX32630FTHR SD card interface implicitly, target and SD component configurations updated. --- storage/blockdevice/COMPONENT_SD/mbed_lib.json | 6 ++++++ targets/targets.json | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/storage/blockdevice/COMPONENT_SD/mbed_lib.json b/storage/blockdevice/COMPONENT_SD/mbed_lib.json index 14950c1a1b..6779ad6da3 100644 --- a/storage/blockdevice/COMPONENT_SD/mbed_lib.json +++ b/storage/blockdevice/COMPONENT_SD/mbed_lib.json @@ -68,6 +68,12 @@ "SPI_CLK": "p13", "SPI_CS": "p14" }, + "MAX32630FTHR": { + "SPI_MOSI": "P0_5", + "SPI_MISO": "P0_6", + "SPI_CLK": "P0_4", + "SPI_CS": "P0_7" + }, "NUMAKER_PFM_M453": { "SPI_MOSI": "PD_13", "SPI_MISO": "PD_14", diff --git a/targets/targets.json b/targets/targets.json index 719d80e500..f854c5ccd4 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -4990,9 +4990,12 @@ "IAR", "ARM" ], - "features_add": [ + "features_add": [ "STORAGE" ], + "components_add": [ + "SD" + ], "device_has": [ "ANALOGIN", "I2C",