Note where some embassy-rs files come from.

In a similar fashion to other source files taken from rp-rs.
This commit is contained in:
Jonathan 'theJPster' Pallant 2024-08-16 15:23:56 +01:00 committed by Dario Nieuwenhuis
parent 53708386a8
commit ccf8ce7c7e
5 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,8 @@
//! Constants for binary info
// Credit: Taken from https://github.com/thejpster/rp-hal-rp2350-public (also licensed Apache 2.0 + MIT).
// Copyright (c) rp-rs organization
/// All Raspberry Pi specified IDs have this tag.
///
/// You can create your own for custom fields.

View File

@ -1,5 +1,8 @@
//! Handy macros for making Binary Info entries
// Credit: Taken from https://github.com/thejpster/rp-hal-rp2350-public (also licensed Apache 2.0 + MIT).
// Copyright (c) rp-rs organization
/// Generate a static item containing the given environment variable,
/// and return its [`EntryAddr`](super::EntryAddr).
#[macro_export]

View File

@ -13,6 +13,9 @@
//! ];
//! ```
// Credit: Taken from https://github.com/thejpster/rp-hal-rp2350-public (also licensed Apache 2.0 + MIT).
// Copyright (c) rp-rs organization
pub mod consts;
mod types;

View File

@ -1,5 +1,8 @@
//! Types for the Binary Info system
// Credit: Taken from https://github.com/thejpster/rp-hal-rp2350-public (also licensed Apache 2.0 + MIT).
// Copyright (c) rp-rs organization
/// This is the 'Binary Info' header block that `picotool` looks for in your UF2
/// file/ELF file/Pico in Bootloader Mode to give you useful metadata about your
/// program.

View File

@ -6,6 +6,9 @@
//! firmware image. The `PARTITION_TABLE` Block (here the `PartitionTable` type)
//! tells the ROM how to divide the flash space up into partitions.
// Credit: Taken from https://github.com/thejpster/rp-hal-rp2350-public (also licensed Apache 2.0 + MIT).
// Copyright (c) rp-rs organization
// These all have a 1 byte size
/// An item ID for encoding a Vector Table address