1 | #![no_std ] |
2 | #![allow (non_snake_case)] |
3 | #![allow (unused)] |
4 | #![allow (non_camel_case_types)] |
5 | #![doc (html_no_source)] |
6 | #![cfg_attr ( |
7 | docsrs, |
8 | doc = "<div style='padding:30px;background:#810;color:#fff;text-align:center;'><p>You might want to <a href='https://docs.embassy.dev/stm32-metapac'>browse the `embassy-nrf` documentation on the Embassy website</a> instead.</p><p>The documentation here on `docs.rs` is built for a single chip only (stm32h755zi-cm7 in particular), while on the Embassy website you can pick your exact chip from the top menu. Available peripherals and their APIs change depending on the chip.</p></div> \n\n" |
9 | )] |
10 | #![doc = include_str!("../README.md" )] |
11 | |
12 | pub mod common; |
13 | |
14 | #[cfg (feature = "pac" )] |
15 | include!(env!("STM32_METAPAC_PAC_PATH" )); |
16 | |
17 | #[cfg (feature = "metadata" )] |
18 | pub mod metadata { |
19 | include!("metadata.rs" ); |
20 | include!(env!("STM32_METAPAC_METADATA_PATH" )); |
21 | include!("all_chips.rs" ); |
22 | include!("all_peripheral_versions.rs" ); |
23 | } |
24 | |