Skip to content

Commit 63deb38

Browse files
committed
Fixed mbed 2 build_travis support of block device
1 parent 278199d commit 63deb38

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tools/libraries.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"""
1717
from tools.paths import MBED_RTX, RTOS, RTOS_LIBRARIES, MBED_LIBRARIES,\
1818
MBED_RPC, RPC_LIBRARY, USB, USB_LIBRARIES, USB_HOST,\
19-
USB_HOST_LIBRARIES, FAT_FS, DSP_ABSTRACTION, DSP_CMSIS, DSP_LIBRARIES,\
19+
USB_HOST_LIBRARIES, FAT_FS, BD, DSP_ABSTRACTION, DSP_CMSIS, DSP_LIBRARIES,\
2020
SD_FS, FS_LIBRARY, ETH_SOURCES, LWIP_SOURCES, ETH_LIBRARY, UBLOX_SOURCES,\
2121
UBLOX_LIBRARY, CELLULAR_SOURCES, CELLULAR_USB_SOURCES, CPPUTEST_SRC,\
2222
CPPUTEST_PLATFORM_SRC, CPPUTEST_TESTRUNNER_SCR, CPPUTEST_LIBRARY,\
@@ -62,7 +62,7 @@
6262
"id": "usb_host",
6363
"source_dir": USB_HOST,
6464
"build_dir": USB_HOST_LIBRARIES,
65-
"dependencies": [MBED_LIBRARIES, FAT_FS, MBED_RTX, RTOS_LIBRARIES],
65+
"dependencies": [MBED_LIBRARIES, FAT_FS, BD, MBED_RTX, RTOS_LIBRARIES],
6666
},
6767

6868
# DSP libraries
@@ -76,9 +76,9 @@
7676
# File system libraries
7777
{
7878
"id": "fat",
79-
"source_dir": [FAT_FS, SD_FS],
79+
"source_dir": [FAT_FS],
8080
"build_dir": FS_LIBRARY,
81-
"dependencies": [MBED_LIBRARIES]
81+
"dependencies": [MBED_LIBRARIES, BD, RTOS_LIBRARIES]
8282
},
8383

8484
# Network libraries

tools/paths.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
FS_PATH = join(FEATURES_DIR, "filesystem")
8383
FAT_FS = join(FS_PATH, "fat")
8484
SD_FS = join(FS_PATH, "sd")
85+
BD = join(FS_PATH, "bd")
8586
FS_LIBRARY = join(BUILD_DIR, "fat")
8687

8788
# DSP

0 commit comments

Comments
 (0)