Merge pull request #4310 from robjwells/rp-romdata-doc

embassy-rp: fix rom_data documentation format
This commit is contained in:
Dario Nieuwenhuis 2025-06-22 21:12:50 +00:00 committed by GitHub
commit d134b52c46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,29 +1,29 @@
#![cfg_attr(
feature = "rp2040",
doc = r"
//! Functions and data from the RPI Bootrom.
//!
//! From the [RP2040 datasheet](https://datasheets.raspberrypi.org/rp2040/rp2040-datasheet.pdf), Section 2.8.2.1:
//!
//! > The Bootrom contains a number of public functions that provide useful
//! > RP2040 functionality that might be needed in the absence of any other code
//! > on the device, as well as highly optimized versions of certain key
//! > functionality that would otherwise have to take up space in most user
//! > binaries.
Functions and data from the RPI Bootrom.
From the [RP2040 datasheet](https://datasheets.raspberrypi.org/rp2040/rp2040-datasheet.pdf), Section 2.8.2.1:
> The Bootrom contains a number of public functions that provide useful
> RP2040 functionality that might be needed in the absence of any other code
> on the device, as well as highly optimized versions of certain key
> functionality that would otherwise have to take up space in most user
> binaries.
"
)]
#![cfg_attr(
feature = "_rp235x",
doc = r"
//! Functions and data from the RPI Bootrom.
//!
//! From [Section 5.4](https://rptl.io/rp2350-datasheet#section_bootrom) of the
//! RP2350 datasheet:
//!
//! > Whilst some ROM space is dedicated to the implementation of the boot
//! > sequence and USB/UART boot interfaces, the bootrom also contains public
//! > functions that provide useful RP2350 functionality that may be useful for
//! > any code or runtime running on the device
Functions and data from the RPI Bootrom.
From [Section 5.4](https://rptl.io/rp2350-datasheet#section_bootrom) of the
RP2350 datasheet:
> Whilst some ROM space is dedicated to the implementation of the boot
> sequence and USB/UART boot interfaces, the bootrom also contains public
> functions that provide useful RP2350 functionality that may be useful for
> any code or runtime running on the device
"
)]