Skip to content

Commit ccf8ce7

Browse files
thejpsterDirbaio
authored andcommitted
Note where some embassy-rs files come from.
In a similar fashion to other source files taken from rp-rs.
1 parent 5370838 commit ccf8ce7

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

embassy-rp/src/binary_info/consts.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
//! Constants for binary info
22
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+
36
/// All Raspberry Pi specified IDs have this tag.
47
///
58
/// You can create your own for custom fields.

embassy-rp/src/binary_info/macros.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
//! Handy macros for making Binary Info entries
22
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+
36
/// Generate a static item containing the given environment variable,
47
/// and return its [`EntryAddr`](super::EntryAddr).
58
#[macro_export]

embassy-rp/src/binary_info/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
//! ];
1414
//! ```
1515
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+
1619
pub mod consts;
1720

1821
mod types;

embassy-rp/src/binary_info/types.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
//! Types for the Binary Info system
22
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+
36
/// This is the 'Binary Info' header block that `picotool` looks for in your UF2
47
/// file/ELF file/Pico in Bootloader Mode to give you useful metadata about your
58
/// program.

embassy-rp/src/block.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//! firmware image. The `PARTITION_TABLE` Block (here the `PartitionTable` type)
77
//! tells the ROM how to divide the flash space up into partitions.
88
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+
912
// These all have a 1 byte size
1013

1114
/// An item ID for encoding a Vector Table address

0 commit comments

Comments
 (0)