Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

rmsc
Copy link
Contributor

@rmsc rmsc commented Aug 27, 2021

This should prevent Cargo from pulling in two different versions of cortex-m-rt, as happened in #602. This is done by requiring a cortex-m-rt version >=0.6.15, which was the first version where the link=cortex-m-rt field was set in Cargo.toml.

The second fix is to clearly allow a cortex-m version >= 0.7.2, but still <0.8. I suspect that cargo would still allow newer versions to resolve version conflicts (as happened in #602), but I think it's better to be explicit about it.

EDIT: just realized that the second fix doesn't make sense.

Previous versions didn't set the 'links' cargo field, and risk being
pulled together with newer ones.
@rmsc rmsc changed the title Fix allowable cortex-m and cortex-m-rt versions Fix allowable cortex-m-rt versions Aug 27, 2021
@github-actions
Copy link

Memory map comparison

@github-actions
Copy link

Memory map comparison

Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

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

Thanks, makes sense!

bors merge

@bors bors bot merged commit d47014a into stm32-rs:master Aug 27, 2021
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.

2 participants