Skip to content

Add toolchain flag to DS-5 exporter #2330

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

Merged
merged 1 commit into from
Aug 2, 2016

Conversation

theotherjimmy
Copy link
Contributor

@@ -40,6 +40,8 @@ class DS5_5(Exporter):
's_sources':'2'
}

TOOLCHAIN = "ARM"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The line below (46) seems to tell a slightly different story. Is it possible to replace the access to TOOLCHAIN to use get_toolchain instead?

Copy link
Contributor Author

@theotherjimmy theotherjimmy Aug 2, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, I definitely can. See here:https://github.com/ARMmbed/mbed-os/blob/master/tools/export/__init__.py#L97 . The TOOLCHAIN member is supposed to be a member of the class. So, I cannot make it a @property that calls self.get_toolchain as that would require a constructed object.

@sg- sg- merged commit e4db590 into ARMmbed:master Aug 2, 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

Successfully merging this pull request may close these issues.

[exporter] DS-5 project could not be generated for RZ_A1H
3 participants