22 lines
844 B
Markdown
22 lines
844 B
Markdown
# `rp2040-hal-macros`
|
|
|
|
Macros used by rp2040-hal.
|
|
|
|
## Entry macro
|
|
|
|
Extension of the `cortex-m-rt` `#[entry]` with rp2040 specific initialization code.
|
|
|
|
Currently, it just unlocks all spinlocks before calling the entry function.
|
|
|
|
# License
|
|
|
|
The contents of this repository are dual-licensed under the _MIT OR Apache 2.0_
|
|
License. That means you can choose either the MIT license or the Apache 2.0
|
|
license when you re-use this code. See [`LICENSE-MIT`](./LICENSE-MIT) or
|
|
[`LICENSE-APACHE`](./LICENSE-APACHE) for more information on each specific
|
|
license. Our Apache 2.0 notices can be found in [`NOTICE`](./NOTICE).
|
|
|
|
Unless you explicitly state otherwise, any contribution intentionally submitted
|
|
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
|
|
dual licensed as above, without any additional terms or conditions.
|