diff --git a/boards/arduino_nano_connect/src/lib.rs b/boards/arduino_nano_connect/src/lib.rs index 069f6fd..69ac811 100644 --- a/boards/arduino_nano_connect/src/lib.rs +++ b/boards/arduino_nano_connect/src/lib.rs @@ -12,15 +12,15 @@ pub use rp2040_hal::entry; /// the board should contain a AT25SF128A flash chip. But /// there are [reports] of board with different flash chips, /// where the boot loader BOOT_LOADER_AT25SF128A does not -/// work. +/// work. /// /// Therefore, the generic boot loader is used by default. For a specific /// board, the flash performance can be increased by switching to the /// matching boot loader. -/// +/// /// [the Arduino store]: https://store.arduino.cc/products/arduino-nano-rp2040-connect /// [reports]: https://github.com/rp-rs/rp-hal/issues/503 -/// +/// #[cfg(feature = "boot2")] #[link_section = ".boot2"] #[no_mangle] diff --git a/boards/rp-pico/src/lib.rs b/boards/rp-pico/src/lib.rs index ac13aa5..7005ff4 100644 --- a/boards/rp-pico/src/lib.rs +++ b/boards/rp-pico/src/lib.rs @@ -1,13 +1,13 @@ #![no_std] //! A Hardware Abstraction Layer for the Raspberry Pi Pico. -//! +//! //! This crate serves as a HAL (Hardware Abstraction Layer) for the Raspberry Pi Pico. Since the Raspberry Pi Pico -//! is based on the RP2040 chip, it re-exports the [rp2040_hal] crate which contains the tooling to work with the +//! is based on the RP2040 chip, it re-exports the [rp2040_hal] crate which contains the tooling to work with the //! rp2040 chip. -//! +//! //! # Examples: -//! +//! //! The following example turns on the onboard LED. Note that most of the logic works through the [rp2040_hal] crate. //! ``` //! #![no_main] @@ -34,18 +34,17 @@ //! } //! ``` - pub extern crate rp2040_hal as hal; #[cfg(feature = "rt")] extern crate cortex_m_rt; -/// The `entry` macro declares the starting function to the linker. +/// The `entry` macro declares the starting function to the linker. /// This is similar to the `main` function in console applications. -/// +/// /// It is based on the [cortex_m_rt](https://docs.rs/cortex-m-rt/latest/cortex_m_rt/attr.entry.html) crate. -/// -/// # Examples +/// +/// # Examples /// ``` /// #![no_std] /// #![no_main]