Skip to content

Commit b0ee385

Browse files
committed
enhanced error message in compile command
issue #153
1 parent 34853dc commit b0ee385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed/mbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1642,7 +1642,7 @@ def compile(toolchain=None, mcu=None, source=False, build=False, compile_library
16421642
with cd(program.path):
16431643
mbed_tools_path = program.get_tools_dir()
16441644
if not mbed_tools_path:
1645-
error('The mbed tools were not found in "%s".' % program.path, -1)
1645+
error('The mbed tools were not found in "%s". \n Run `mbed deploy` to install dependencies and tools. ' % program.path, -1)
16461646
tools_dir = os.path.abspath(mbed_tools_path)
16471647

16481648
target = mcu if mcu else program.get_cfg('TARGET')

0 commit comments

Comments
 (0)