aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-09-26 11:57:26 +0200
committerDario Nieuwenhuis <[email protected]>2022-09-26 11:57:26 +0200
commitfa7781c48d9e6687914e674aba63291225ee8d17 (patch)
tree41c5b28569063774622aa241be5d34549157e18f
parent2e7916c5feed13893921936ce26dab44c8a617a9 (diff)
Add credits to rp-hal
-rw-r--r--embassy-rp/src/intrinsics.rs3
-rw-r--r--embassy-rp/src/rom_data.rs3
2 files changed, 6 insertions, 0 deletions
diff --git a/embassy-rp/src/intrinsics.rs b/embassy-rp/src/intrinsics.rs
index 9e6624cf0..ac1f54800 100644
--- a/embassy-rp/src/intrinsics.rs
+++ b/embassy-rp/src/intrinsics.rs
@@ -1,5 +1,8 @@
1#![macro_use] 1#![macro_use]
2 2
3// Credit: taken from `rp-hal` (also licensed Apache+MIT)
4// https://github.com/rp-rs/rp-hal/blob/main/rp2040-hal/src/intrinsics.rs
5
3/// Generate a series of aliases for an intrinsic function. 6/// Generate a series of aliases for an intrinsic function.
4macro_rules! intrinsics_aliases { 7macro_rules! intrinsics_aliases {
5 ( 8 (
diff --git a/embassy-rp/src/rom_data.rs b/embassy-rp/src/rom_data.rs
index 93a3632a5..757a27114 100644
--- a/embassy-rp/src/rom_data.rs
+++ b/embassy-rp/src/rom_data.rs
@@ -8,6 +8,9 @@
8//! > functionality that would otherwise have to take up space in most user 8//! > functionality that would otherwise have to take up space in most user
9//! > binaries. 9//! > binaries.
10 10
11// Credit: taken from `rp-hal` (also licensed Apache+MIT)
12// https://github.com/rp-rs/rp-hal/blob/main/rp2040-hal/src/rom_data.rs
13
11/// A bootrom function table code. 14/// A bootrom function table code.
12pub type RomFnTableCode = [u8; 2]; 15pub type RomFnTableCode = [u8; 2];
13 16