Skip to content

Exporting to uvision fails for nucleo F401RE #3057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hasnainvirk opened this issue Oct 18, 2016 · 5 comments
Closed

Exporting to uvision fails for nucleo F401RE #3057

hasnainvirk opened this issue Oct 18, 2016 · 5 comments

Comments

@hasnainvirk
Copy link
Contributor

hasnainvirk commented Oct 18, 2016

Setup:

mbed-os-5.2.0-rc3
mbed-cli 0.9.9 Command used:

mbed export -m NUCLEO_F401RE -i uvision

Error message :

Traceback (most recent call last):
File "/home/hasnain/mbed-os/oob-mbed-os-example-client/mbed-os/tools/project.py", line 234, in
main()
File "/home/hasnain/mbed-os/oob-mbed-os-example-client/mbed-os/tools/project.py", line 230, in main
zip_proj=zip_proj, build_profile=profile)
File "/home/hasnain/mbed-os/oob-mbed-os-example-client/mbed-os/tools/project.py", line 93, in export
build_profile=build_profile, silent=silent)
File "/home/hasnain/mbed-os/oob-mbed-os-example-client/mbed-os/tools/project_api.py", line 229, in export_project
macros=macros)
File "/home/hasnain/mbed-os/oob-mbed-os-example-client/mbed-os/tools/project_api.py", line 90, in generate_project_files
exporter.generate()
File "/home/hasnain/mbed-os/oob-mbed-os-example-client/mbed-os/tools/export/uvision/init.py", line 192, in generate
'device': DeviceUvision(self.target),
File "/home/hasnain/mbed-os/oob-mbed-os-example-client/mbed-os/tools/export/uvision/init.py", line 23, in init
DeviceCMSIS.init(self, target)
File "/home/hasnain/mbed-os/oob-mbed-os-example-client/mbed-os/tools/export/cmsis/init.py", line 53, in init
raise TargetNotSupportedException("Target not in CMSIS packs")
tools.export.exporters.TargetNotSupportedException: Target not in CMSIS packs
[mbed] ERROR: "python" returned error code 1.
[mbed] ERROR: Command "python -u /home/hasnain/mbed-os/oob-mbed-os-example-client/mbed-os/tools/project.py -i uvision -m NUCLEO_F401RE --source ." in "/home/hasnain/mbed-os/oob-mbed-os-example-client"

This is a Duplicate of https://github.com/ARMmbed/oob-mbed-os-example-client/issues/17. Opened a ticket there for better visibility and quick resolution.

@sg- , @MarceloSalazar , @SeppoTakalo , @0xc0170

@ohagendorf
Copy link
Contributor

Please check C:\Users\YOURUSERNAME.local\share\arm-pack-manager if there is an empty index.json.

When yes, it seems to be the problem I described in #3049

Maybe you can find a first solution in my description (using an older version of pycurl)

@ohagendorf
Copy link
Contributor

@hasnainvirk , sorry it is #3051

@hasnainvirk
Copy link
Contributor Author

@ohagendorf I am using Linux. I don't think Windows 10 solution applies to me.

@ohagendorf
Copy link
Contributor

But you can check if the CMSIS packs are available. Unfortunatly I can't say where the files are stored under Linux.
As @bridadan wrote, you have to install libcurl manually under Linux.

@theotherjimmy
Copy link
Contributor

@hasnainvirk they were stored in $HOME/.local/share/arm-pack-manager.

OTOH, #3067 was merged, so this should no longer be an issue.

@theotherjimmy theotherjimmy changed the title Exporting to uvision fails Exporting to uvision fails for nucleo F401RE Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants