#![doc = include_str!("../BUILD-OPTIONS.md")]
#![no_std]
#![cfg_attr(
all(not(feature = "std"), feature = "alloc_handler"),
feature(alloc_error_handler)
)]
#![allow(unknown_lints)]
#![allow(renamed_and_removed_lints)]
#![allow(unexpected_cfgs)]
pub use bindings::*;
pub use error::*;
#[cfg(any(esp32, esp32s2, esp32s3, esp32c6, esp32h2))]
pub use pcnt::*;
#[doc(hidden)]
pub use build_time;
#[doc(hidden)]
pub use const_format;
#[doc(hidden)]
pub use patches::PatchesRef;
#[cfg(feature = "std")]
#[allow(unused_imports)]
#[macro_use]
extern crate std;
#[cfg(feature = "alloc")]
#[allow(unused_imports)]
#[macro_use]
extern crate alloc;
mod alloc;
mod app_desc;
mod error;
mod panic;
mod patches;
#[cfg(any(esp32, esp32s2, esp32s3, esp32c6, esp32h2))]
mod pcnt;
mod start;
#[allow(deprecated)]
#[allow(unused)]
#[cfg(feature = "std")]
const ESP_IDF_TIME64_CHECK: ::std::os::espidf::raw::time_t = 0 as crate::time_t;
#[allow(unused)]
const ESP_IDF_TIME64_CHECK_LIBC: ::libc::time_t = 0 as crate::time_t;
pub fn link_patches() -> PatchesRef {
patches::link_patches()
}
#[allow(clippy::all)]
#[allow(non_upper_case_globals)]
#[allow(non_camel_case_types)]
#[allow(non_snake_case)]
#[allow(rustdoc::all)]
#[allow(improper_ctypes)] #[allow(dead_code)]
mod bindings {
#[cfg(any(esp32, esp32s2, esp32s3, esp32c6, esp32h2))]
use crate::pcnt::*;
include!(env!("EMBUILD_GENERATED_BINDINGS_FILE"));
}