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

update: Update dependencies and precompiled library #56

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rmsyn
Copy link
Contributor

@rmsyn rmsyn commented May 26, 2023

Updates dependencies to latest version, notably the gd32vf103-pac crate.

Depends on riscv-rust/gd32vf103-pac#10

Updates the eclic-mode-hack.S assembly file to fix a build failure with recent versions of riscv64-unknown-elf-gcc.

Removes the bare_metal::Nr trait, since it is no longer present in recent versions of the library.

nb = "0.1.2"
void = { version = "1.0.2", default-features = false }
cast = { version = "0.2.3", default-features = false }
vcell = "0.1.2"
embedded-dma = "0.1.2"

[dependencies.gd32vf103-pac]
Copy link
Member

Choose a reason for hiding this comment

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

gd32vf103-pac v0.5.0 is now published

rmsyn added 3 commits May 28, 2023 19:49
Updates cargo dependencies, and removes the deprecated `bare_metal::Nr`
trait.

The `bare_metal::Nr` is no longer present in the latest version, and all
usage in this HAL are easily replaced by directly converting the
`Interrupt` enum to a base integer type.
Adds `.option +zicsr` to `eclic-mode-hack.S` to fix a failure to
assemble with recent versions of `riscv64-unknown-elf-gcc` (e.g.
12.2.0).
Updates the precompiled `bin/gd32vf103xx-hal.a` part of the library.
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