-
Notifications
You must be signed in to change notification settings - Fork 180
Closed
Description
Reproduce with these steps:
-
Download ZIP file from existing online project:
https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-blinky/export -
Unzip and change to directory
-
dir /A
29/01/2017 15:10 32 .gitignore
29/01/2017 15:10 <DIR> .hg
29/01/2017 15:10 <DIR> img
29/01/2017 15:10 213 main.cpp
29/01/2017 15:12 <DIR> mbed-os
29/01/2017 15:10 77 mbed-os.lib
29/01/2017 15:10 2,737 README.md
mbed new .
Output:
[mbed] ERROR: A repository already exists in "C:\mbed\xxx\mbed-os-example-blinky_zip_NUCLEO_F429ZI\mbed-os-example-blinky" based on git. Please select a different name or location.
---
mbed compile
[mbed] WARNING: Could not find mbed program in current path "C:\mbed\xxx\mbed-os-example-blinky_zip_NUCLEO_F429ZI\mbed-os-example-blinky".
[mbed] WARNING: You can fix this by calling "mbed new ." in the root of your program.
...
Either the exported should not have a .gitignore
directory, or mbed CLI should be able to handle this.