Skip to content

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.

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