Skip to content

Conversation

niklarm
Copy link
Contributor

@niklarm niklarm commented Feb 9, 2016

With target inheritance, the target dependencies in this module will fall away.
However, since we cannot yet filter target dependencies on multiple properties, we need to add a specific similarTo tag to the legacy targets.

This change is dependent on:

@autopulated Is this a breaking change? User upgrading only their stm32 targets will be fine, but when upgrading only their module, they will receive errors. Is there another way?

@bogdanm @0xc0170 @bremoran @mjs-arm

@bremoran
Copy link
Contributor

bremoran commented Feb 9, 2016

I expect that build has failed here because of a dependency on the updated legacy targets. Is that correct?

@niklarm
Copy link
Contributor Author

niklarm commented Feb 9, 2016

Yes, the build should be restarted once the targets have been updated. Then it should build fine.

@autopulated
Copy link

Doing a yotta up will update the targets and modules, so I don't think this is a breaking change. Do a minor bump though (new feature).

With target inheritance, the target dependencies in this module will 
fall away. However, since we cannot yet filter target dependencies on 
multiple properties, we need to add a specific `similarTo` tag to the 
legacy targets.

This will allow future targets using target inheritance to not include
the `mbed-hal-<chip>` module anymore.
@bremoran
Copy link
Contributor

bremoran commented Feb 9, 2016

-1 until builds pass.

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 10, 2016

Jenkins restarted, build 42 is green

@bremoran
Copy link
Contributor

+1

0xc0170 added a commit that referenced this pull request Feb 10, 2016
Choose target dependency only for legacy targets
@0xc0170 0xc0170 merged commit c4e2163 into ARMmbed:master Feb 10, 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.

4 participants