Skip to content

Commit 03e46bc

Browse files
author
Janne Kiiskila
committed
Take the Mbed OS SD-driver instead of ext. repo
We should really start using the SD-driver INSIDE MbedOS, rather than the old legacy one we have in the external repo. Add in the "SD" component to all targets, as otherwise you can't overload it (previously the SD came in as it was directly pulled in to the repo via the sd-driver.lib). Now it is an Mbed OS component.
1 parent e66e67c commit 03e46bc

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

.mbedignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ mbed-os/features/filesystem/fat/*
2828
mbed-os/features/device_key/*
2929
mbed-os/components/802.15.4_RF/*
3030
mbed-os/components/TARGET_PSA/*
31-
mbed-os/components/storage/*
31+
mbed-os/components/storage/blockdevice/COMPONENT_DATAFLASH/*
32+
mbed-os/components/storage/blockdevice/COMPONENT_FLASHIAP/*
33+
mbed-os/components/storage/blockdevice/COMPONENT_QSPIF/*
34+
mbed-os/components/storage/blockdevice/COMPONENT_RSPIF/*
35+
mbed-os/components/storage/blockdevice/COMPONENT_SPIF/*
36+
mbed-os/components/storage/blockdevice/COMPONENT_SD/TESTS/*
37+
mbed-os/components/storage/blockdevice/COMPONENT_SD/util/*
3238
mbed-os/components/wifi/*
3339
mbed-os/features/frameworks/mbed-client-cli/*
3440
mbed-os/features/lwipstack/*

mbed_app.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,14 @@
4040
},
4141
"target_overrides": {
4242
"*": {
43-
"target.features_remove": ["LWIP", "STORAGE"],
44-
"platform.use-mpu" : false,
45-
"platform.stdio-baud-rate" : 115200,
46-
"platform.stdio-flush-at-exit": false,
43+
"target.features_remove" : ["LWIP", "STORAGE"],
44+
"target.components_add" : ["SD"],
45+
"platform.use-mpu" : false,
46+
"platform.stdio-baud-rate" : 115200,
47+
"platform.stdio-flush-at-exit" : false,
48+
"platform.crash-capture-enabled" : 0,
49+
"sd.crc-enabled" : 0,
50+
"sd.write-enabled" : 0,
4751
"update-client.storage-address" : "(1024*1024*64)",
4852
"update-client.storage-size" : "(1024*1024*2)",
4953
"update-client.storage-locations": 1,

sd-driver.lib

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)