From fa7781c48d9e6687914e674aba63291225ee8d17 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Mon, 26 Sep 2022 11:57:26 +0200 Subject: [PATCH] Add credits to rp-hal --- embassy-rp/src/intrinsics.rs | 3 +++ embassy-rp/src/rom_data.rs | 3 +++ 2 files changed, 6 insertions(+) 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 @@ #![macro_use] +// Credit: taken from `rp-hal` (also licensed Apache+MIT) +// https://github.com/rp-rs/rp-hal/blob/main/rp2040-hal/src/intrinsics.rs + /// Generate a series of aliases for an intrinsic function. macro_rules! intrinsics_aliases { ( 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 @@ //! > functionality that would otherwise have to take up space in most user //! > binaries. +// Credit: taken from `rp-hal` (also licensed Apache+MIT) +// https://github.com/rp-rs/rp-hal/blob/main/rp2040-hal/src/rom_data.rs + /// A bootrom function table code. pub type RomFnTableCode = [u8; 2];