Skip to content
This repository was archived by the owner on Mar 4, 2019. It is now read-only.

regenerate using svd2rust v0.13.0 #24

Merged
merged 1 commit into from
May 12, 2018
Merged

regenerate using svd2rust v0.13.0 #24

merged 1 commit into from
May 12, 2018

Conversation

japaric
Copy link
Owner

@japaric japaric commented Apr 26, 2018

No description provided.

bors bot added a commit to rust-embedded/svd2rust that referenced this pull request May 12, 2018
203: cortex-m: generate code that compiles on stable r=japaric a=japaric

This is still missing some stuff:

- svd2rust must now generate an interrupts.x linker script and a build script that puts the linker script somewhere the linker can find it. See japaric/stm32f103xx#24 for a sample of what those files look like.

- we have to decide how to organize the svd2rust output. It probably makes sense to generate 3 files on $PWD (lib.rs, build.rs, interrupts.x) for Cortex-M and a single lib.rs for the other targets.

- I probably broke the other targets; need to test them

Co-authored-by: Jorge Aparicio <[email protected]>
bors bot added a commit to rust-embedded/svd2rust that referenced this pull request May 12, 2018
203: cortex-m: generate code that compiles on stable r=japaric a=japaric

This is still missing some stuff:

- svd2rust must now generate an interrupts.x linker script and a build script that puts the linker script somewhere the linker can find it. See japaric/stm32f103xx#24 for a sample of what those files look like.

- we have to decide how to organize the svd2rust output. It probably makes sense to generate 3 files on $PWD (lib.rs, build.rs, interrupts.x) for Cortex-M and a single lib.rs for the other targets.

- I probably broke the other targets; need to test them

Co-authored-by: Jorge Aparicio <[email protected]>
@japaric
Copy link
Owner Author

japaric commented May 12, 2018

bors r+

bors bot added a commit that referenced this pull request May 12, 2018
24: regenerate using svd2rust v0.13.0 r=japaric a=japaric



Co-authored-by: Jorge Aparicio <[email protected]>
@bors
Copy link
Contributor

bors bot commented May 12, 2018

Build succeeded

@bors bors bot merged commit db856ee into master May 12, 2018
@japaric japaric deleted the stable branch May 12, 2018 18:27
bors bot added a commit to rust-embedded/cortex-m-quickstart that referenced this pull request May 12, 2018
29: use less unstable dependencies r=japaric a=japaric

This PR and the ones at the bottom reduce the number of unstable features needed for Cortex-M development to a single one: `lang = "panic_fmt"`, which already has a path towards stabilization and which we hope to get on stable by 1.28.

[Check out the temporary documentation](https://japaric.github.io/cortex-m-quickstart/cortex_m_quickstart/index.html) (we still need more docs) to try out this preview. 

We would love your input on [these unresolved questions](rust-embedded/cortex-m-rt#69 (comment))

This PR depends on:

- rust-embedded/cortex-m-rt#69
- rust-embedded/cortex-m#88
- rust-embedded/panic-semihosting#2
- rust-embedded/svd2rust#203
- japaric/stm32f103xx#24

Co-authored-by: Jorge Aparicio <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant