-
Notifications
You must be signed in to change notification settings - Fork 241
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
feat: Release rp235x-hal v0.3.0 #870
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to update the HAL version for the examples too, cargo won't let you compile things from path if the version specified isn't correct.
rp-hal/rp235x-hal-examples/Cargo.toml
Line 35 in e87e2ac
rp235x-hal = {path = "../rp235x-hal", version = "0.2.0", features = ["binary-info", "critical-section-impl", "rt", "defmt"]} |
If you look at https://github.com/rp-rs/rp-hal/blob/main/rp2040-hal/CHANGELOG.md, we've tried to include the PR # and the user who made the PR as well. |
Fixed after changing Cargo.toml:
|
Is there a |
Create aliases build-arm run-arm build-riscv and run-riscv in .cargo/config.toml. With these defined you can now use the alias which will be converted to the full target name: cargo build-arm -> cargo build --target thumbv8m.main-none-eabihf cargo run-arm -> cargo run --target thumbv8m.main-none-eabihf cargo build-riscv -> cargo build --target riscv32imac-unknown-none-elf cargo run-risv -> cargo run --target riscv32imac-unknown-none-elf Append --release parameter to do release builds and runs. For example: cargo run-riscv --release -> cargo run --target riscv32imac-unknown-none-elf --release feat: Make it easier to specify target architecture Create aliases build-arm run-arm build-riscv and run-riscv in .cargo/config.toml. With these defined you can now use the alias which will be converted to the full target name: cargo build-arm --bin blinky -> cargo build --bin blinky --target=thumbv8m.main-none-eabihf cargo run-arm --bin blinky -> cargo run --bin blinky --target=thumbv8m.main-none-eabihf cargo build-riscv --bin blinky -> cargo build --bin blinky --target=riscv32imac-unknown-none-elf cargo run-risv --bin blinky -> cargo run --bin blinky --target=riscv32imac-unknown-none-elf Append --release parameter to do release builds and runs. For example: cargo run-risv --bin blinky --release -> cargo run --bin blinky --target=thumbv8m.main-none-eabihf --release
Also, tweak the aliases and add dev and release modes with shorter names.
config.toml: * Use build-* rather than bld-* * Add a "custom" command example `rrr-blinky` README.md: * Show "all" examples are created if `--bin` is not specified * Show the size differential between development and release profiles * Describe aliases at the end of Getting Started using build-riscv, run-riscv and rrr-blinky
I usually look at the closed PR list, match against merge commit messages |
Apply some review suggestions, still need to add #PR and @user.
4a71adf
to
4e3070f
Compare
I've somehow messed this up, I'm closing it and starting over, sorry! |
Prepare to release pr235x-hal version 0.3.0