diff options
| -rw-r--r-- | embassy-rp/src/binary_info/consts.rs | 3 | ||||
| -rw-r--r-- | embassy-rp/src/binary_info/macros.rs | 3 | ||||
| -rw-r--r-- | embassy-rp/src/binary_info/mod.rs | 3 | ||||
| -rw-r--r-- | embassy-rp/src/binary_info/types.rs | 3 | ||||
| -rw-r--r-- | embassy-rp/src/block.rs | 3 |
5 files changed, 15 insertions, 0 deletions
diff --git a/embassy-rp/src/binary_info/consts.rs b/embassy-rp/src/binary_info/consts.rs index c8270c081..d5fcd0d75 100644 --- a/embassy-rp/src/binary_info/consts.rs +++ b/embassy-rp/src/binary_info/consts.rs | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | //! Constants for binary info | 1 | //! Constants for binary info |
| 2 | 2 | ||
| 3 | // Credit: Taken from https://github.com/thejpster/rp-hal-rp2350-public (also licensed Apache 2.0 + MIT). | ||
| 4 | // Copyright (c) rp-rs organization | ||
| 5 | |||
| 3 | /// All Raspberry Pi specified IDs have this tag. | 6 | /// All Raspberry Pi specified IDs have this tag. |
| 4 | /// | 7 | /// |
| 5 | /// You can create your own for custom fields. | 8 | /// You can create your own for custom fields. |
diff --git a/embassy-rp/src/binary_info/macros.rs b/embassy-rp/src/binary_info/macros.rs index 0d6ba5eb5..faf6148c8 100644 --- a/embassy-rp/src/binary_info/macros.rs +++ b/embassy-rp/src/binary_info/macros.rs | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | //! Handy macros for making Binary Info entries | 1 | //! Handy macros for making Binary Info entries |
| 2 | 2 | ||
| 3 | // Credit: Taken from https://github.com/thejpster/rp-hal-rp2350-public (also licensed Apache 2.0 + MIT). | ||
| 4 | // Copyright (c) rp-rs organization | ||
| 5 | |||
| 3 | /// Generate a static item containing the given environment variable, | 6 | /// Generate a static item containing the given environment variable, |
| 4 | /// and return its [`EntryAddr`](super::EntryAddr). | 7 | /// and return its [`EntryAddr`](super::EntryAddr). |
| 5 | #[macro_export] | 8 | #[macro_export] |
diff --git a/embassy-rp/src/binary_info/mod.rs b/embassy-rp/src/binary_info/mod.rs index 213565cdf..ea475086b 100644 --- a/embassy-rp/src/binary_info/mod.rs +++ b/embassy-rp/src/binary_info/mod.rs | |||
| @@ -13,6 +13,9 @@ | |||
| 13 | //! ]; | 13 | //! ]; |
| 14 | //! ``` | 14 | //! ``` |
| 15 | 15 | ||
| 16 | // Credit: Taken from https://github.com/thejpster/rp-hal-rp2350-public (also licensed Apache 2.0 + MIT). | ||
| 17 | // Copyright (c) rp-rs organization | ||
| 18 | |||
| 16 | pub mod consts; | 19 | pub mod consts; |
| 17 | 20 | ||
| 18 | mod types; | 21 | mod types; |
diff --git a/embassy-rp/src/binary_info/types.rs b/embassy-rp/src/binary_info/types.rs index d2b192e32..6aec1902e 100644 --- a/embassy-rp/src/binary_info/types.rs +++ b/embassy-rp/src/binary_info/types.rs | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | //! Types for the Binary Info system | 1 | //! Types for the Binary Info system |
| 2 | 2 | ||
| 3 | // Credit: Taken from https://github.com/thejpster/rp-hal-rp2350-public (also licensed Apache 2.0 + MIT). | ||
| 4 | // Copyright (c) rp-rs organization | ||
| 5 | |||
| 3 | /// This is the 'Binary Info' header block that `picotool` looks for in your UF2 | 6 | /// This is the 'Binary Info' header block that `picotool` looks for in your UF2 |
| 4 | /// file/ELF file/Pico in Bootloader Mode to give you useful metadata about your | 7 | /// file/ELF file/Pico in Bootloader Mode to give you useful metadata about your |
| 5 | /// program. | 8 | /// program. |
diff --git a/embassy-rp/src/block.rs b/embassy-rp/src/block.rs index d270bbf1c..a3e1ad925 100644 --- a/embassy-rp/src/block.rs +++ b/embassy-rp/src/block.rs | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | //! firmware image. The `PARTITION_TABLE` Block (here the `PartitionTable` type) | 6 | //! firmware image. The `PARTITION_TABLE` Block (here the `PartitionTable` type) |
| 7 | //! tells the ROM how to divide the flash space up into partitions. | 7 | //! tells the ROM how to divide the flash space up into partitions. |
| 8 | 8 | ||
| 9 | // Credit: Taken from https://github.com/thejpster/rp-hal-rp2350-public (also licensed Apache 2.0 + MIT). | ||
| 10 | // Copyright (c) rp-rs organization | ||
| 11 | |||
| 9 | // These all have a 1 byte size | 12 | // These all have a 1 byte size |
| 10 | 13 | ||
| 11 | /// An item ID for encoding a Vector Table address | 14 | /// An item ID for encoding a Vector Table address |
