Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
edition = "2021"
edition = "2024"
name = "rp235x-project-template"
version = "0.1.0"
license = "MIT OR Apache-2.0"
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ If you aren't using a debugger (or want to use other debugging configurations),
<details open="open">
<summary><h2 style="display: inline-block" id="requirements">Requirements</h2></summary>

- The standard Rust tooling (cargo, rustup) which you can install from https://rustup.rs/
- The standard Rust tooling (cargo, rustup) which you can install from <https://rustup.rs/>

Note that, this template targets Rust 2024 edition, which requires Rust 1.85. So, it is recommended to use the latest stable version.

- Toolchain support for the cortex-m33 processors in the rp235x (thumbv8m.main-none-eabihf)

Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use embedded_hal::digital::OutputPin;
use panic_probe as _;
use rp235x_hal::clocks::init_clocks_and_plls;
use rp235x_hal::{self as hal, entry};
use rp235x_hal::{pac, Clock};
use rp235x_hal::{Clock, pac};

// Provide an alias for our BSP so we can switch targets quickly.
// Uncomment the BSP you included in Cargo.toml, the rest of the code does not need to change.
Expand Down Expand Up @@ -74,7 +74,7 @@ fn main() -> ! {
}

/// Program metadata for `picotool info`
#[link_section = ".bi_entries"]
#[unsafe(link_section = ".bi_entries")]
#[used]
pub static PICOTOOL_ENTRIES: [rp235x_hal::binary_info::EntryAddr; 5] = [
rp235x_hal::binary_info::rp_cargo_bin_name!(),
Expand Down
Loading