Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Add thumbv8m main. #167

Closed
wants to merge 2 commits into from
Closed

Add thumbv8m main. #167

wants to merge 2 commits into from

Conversation

nezza
Copy link

@nezza nezza commented Jan 16, 2019

rustup supports the thumbv8m.main-none-eabi target, this adds support for thumbv8m.main-none-eabi to cortex-m-rt.

Related PRs:

rust-embedded/cortex-m-semihosting#28
rust-embedded/cortex-m#130

@nezza
Copy link
Author

nezza commented Jan 16, 2019

The Travis build is failing because it relies on cortex-m supporting thumbv8m.main already - after the PR in cortex-m is integrated it should work.

bors bot added a commit to rust-embedded/cortex-m that referenced this pull request Jan 19, 2019
130: Add thumbv8m main. r=adamgreig a=nezza

rustup supports the `thumbv8m.main-none-eabi` target, this adds support for `thumbv8m.main-none-eabi` to cortex-m.


Related PRs:

rust-embedded/cortex-m-semihosting#28
rust-embedded/cortex-m-rt#167

Co-authored-by: Thomas Roth <thomas.roth@leveldown.de>
@therealprof
Copy link
Contributor

bors try

bors bot added a commit that referenced this pull request Jan 22, 2019
@bors
Copy link
Contributor

bors bot commented Jan 22, 2019

try

Build failed

@nezza
Copy link
Author

nezza commented Jan 22, 2019

@adamgreig mentioned we have to wait for a new release, cause the cortex-m module is version fixed

@thejpster
Copy link
Contributor

Can I do anything to push this along? I have an M33 and I want to try it out!

@therealprof
Copy link
Contributor

bors try

bors bot added a commit that referenced this pull request Feb 13, 2019
@bors
Copy link
Contributor

bors bot commented Feb 13, 2019

try

Build failed

@mathk
Copy link

mathk commented Feb 21, 2019

Ping from triage: @nezza will resolving iusee rust-embedded/cortex-m#131 make bors happy ?

@nezza
Copy link
Author

nezza commented Feb 22, 2019

My understanding is that a cortex-m (minor) release would make bors happy (someone in IRC said so at least :) )

bors bot added a commit to rust-embedded/cortex-m-semihosting that referenced this pull request Mar 15, 2019
28: Add thumbv8m main. r=adamgreig a=nezza

rustup supports the `thumbv8m.main-none-eabi` target, this adds support for `thumbv8m.main-none-eabi` to cortex-m-semihosting.

Related PRs:

rust-embedded/cortex-m#130
rust-embedded/cortex-m-rt#167

Co-authored-by: Thomas Roth <thomas.roth@leveldown.de>
@nezza
Copy link
Author

nezza commented Mar 15, 2019

bors try

@bors
Copy link
Contributor

bors bot commented Mar 15, 2019

🔒 Permission denied

Existing reviewers: click here to make nezza a reviewer

@adamgreig
Copy link
Member

bors try

bors bot added a commit that referenced this pull request Mar 15, 2019
@bors
Copy link
Contributor

bors bot commented Mar 15, 2019

try

Build failed

@thejpster
Copy link
Contributor

thumv8m support requires cortex-m 0.6+ I believe. Also it seems the assembler files don't match.

@nezza
Copy link
Author

nezza commented Mar 15, 2019

Yep, I'll push an increase to 0.6.0 in a bit

@thejpster
Copy link
Contributor

You may also need a newer GCC. I'm having trouble with the arm-none-eabi-gcc included with Ubuntu 18.04. The latest pre-built GCC from ARM (gcc-arm-none-eabi-8-2018-q4-major) works fine.

@nezza
Copy link
Author

nezza commented Mar 15, 2019

Thanks for the hint, will take a look!

@adamgreig
Copy link
Member

The build is already using cortex-m 0.6 (since I updated Cargo.toml to use >0.5.7 <0.7), but it's also using cortex-m 0.5.7 for something else I suppose. Anyway the failure in this case seems to be the assembler files.

You can see it's using cortex-m 0.6 here: https://travis-ci.org/rust-embedded/cortex-m-rt/jobs/506709530
and you can see which version of the GCC toolchain it's using here: https://github.com/rust-embedded/cortex-m-rt/blob/master/ci/install.sh#L10

@thejpster
Copy link
Contributor

https://crates.io/crates/cortex-m-semihosting hasn't been updated, so that's pulling in cortex-m 0.5.x. Not sure why this crate depends on -semihosting.

@mathk
Copy link

mathk commented Mar 15, 2019

@rust-embedded/cortex-m seems that we have 2 PR for the same feature ? #182

@mathk
Copy link

mathk commented Mar 15, 2019

@thejpster looks like it is in example/qemu.rs

@thejpster
Copy link
Contributor

@rust-embedded/cortex-m seems that we have 2 PR for the same feature ? #182

Mine also adds the missing cfg flags. You can do this one then mine, or just mine.

@korken89
Copy link
Contributor

Merged #182 and I think this one should not be needed, if I missed something reopen this.
Thanks for all the work!

@korken89 korken89 closed this Mar 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants