Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years ago.
Cannot export to IDE from mbed-cli
Hello all,
I'm developing LPC1768 with mbed os 2.0 using mbed-cli, version=1.10.1.
The function of compile is working, however export is not. An error message is as below.
E:\Dev\mbed_ws\TestProject>mbed export -m LPC1768 -i mcuxpresso -v
[mbed] Working path "E:\Dev\mbed_ws\TestProject" (program)
[mbed] Exec "c:\python27\python.exe -u E:\Dev\mbed_ws\TestProject\.temp\tools\project.py -i mcuxpresso -m LPC1768 --profile debug --source ." in "E:\Dev\mbed_ws\TestProject"
Traceback (most recent call last):
File "E:\Dev\mbed_ws\TestProject\.temp\tools\project.py", line 423, in <module>
main()
File "E:\Dev\mbed_ws\TestProject\.temp\tools\project.py", line 415, in main
ignore=options.ignore
File "E:\Dev\mbed_ws\TestProject\.temp\tools\project.py", line 145, in export
notify.info("Using targets from %s" % targets_json)
AttributeError: 'NoneType' object has no attribute 'info'
[mbed] ERROR: "c:\python27\python.exe" returned error.
Code: 1
Path: "E:\Dev\mbed_ws\TestProject"
Command: "c:\python27\python.exe -u E:\Dev\mbed_ws\TestProject\.temp\tools\project.py -i mcuxpresso -m LPC1768 --profile debug --source ."
Tip: You could retry the last command with "-v" flag for verbose output
Please let me know if you know how to fix it.
Thanks.