mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 12:41:31 +11:00
Mark examples as ignore
, as no_std
code doesn't work in doctests
This commit is contained in:
parent
0767f9b214
commit
e6b98c22f5
|
@ -64,7 +64,7 @@ You'll also need to copy the cargo config file from the [repo](https://github.co
|
|||
|
||||
The simplest working example, which does nothing except loop forever, is:
|
||||
|
||||
```rust
|
||||
```ignore
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
use rp_pico::entry;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
//! # Examples:
|
||||
//!
|
||||
//! The following example turns on the onboard LED. Note that most of the logic works through the [rp2040_hal] crate.
|
||||
//! ```
|
||||
//! ```ignore
|
||||
//! #![no_main]
|
||||
//! use rp_pico::entry;
|
||||
//! use panic_halt as _;
|
||||
|
@ -45,7 +45,7 @@ extern crate cortex_m_rt;
|
|||
/// It is based on the [cortex_m_rt](https://docs.rs/cortex-m-rt/latest/cortex_m_rt/attr.entry.html) crate.
|
||||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// #![no_std]
|
||||
/// #![no_main]
|
||||
/// use rp_pico::entry;
|
||||
|
|
Loading…
Reference in a new issue