Skip to content
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

Merge Upgrade to newest Rust nightly from upstream #12

Closed
wants to merge 34 commits into from
Closed

Conversation

alevy
Copy link
Collaborator

@alevy alevy commented Aug 3, 2016

Merge from tock/75

@yuriks with this merge, I'm getting compilation errors related to rust-lang/rust#30830 again, even though (I think) -g is off on both golf and tango platforms. Can you take a look?

alevy and others added 30 commits July 13, 2016 18:18
An MPU region base must be aligned to the size of the region.
Switch between privileged/unprivileged thread mode whenever going from
kernel to app and the other way
Use same units in systick's set_timer and value
Use MPU to isolate applications
Don't loose app buffer in console when writing from multiple apps
Changed the static_init macro to take a size argument
The code appears to have been broken in rust-lang/rust#30830. This
commit uses no_mangle as a work-around, since that's special-cased by
the compiler and always kept.

A more proper solution would be to re-export the necessary symbols in
the final crate, which should also ensure that they're kept. This would
either introduce a platform dependency in the main crate, or require a
restructuring of the code so that the kernel binary is produced by the
platform code.
Homebrew default arm-none-eabi is now 4.9
alevy and others added 4 commits August 2, 2016 15:25
@yuriks yuriks closed this Aug 5, 2016
@yuriks yuriks deleted the upgrade-rust branch August 5, 2016 22:40
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