#![allow(
non_snake_case,
non_camel_case_types,
non_upper_case_globals,
unused,
clippy::all
)]
#[cfg(windows)]
include!("bindings_windows.rs");
#[cfg(unix)]
include!("bindings_linux.rs");
pub use libloading;
pub const FLASH_BASE_ADDRESS: u32 = 0x08000000;
pub const SRAM_BASE_ADDRESS: u32 = 0x20000000;
pub const SRAM2A_BASE_ADDRESS_STM32WB5X: u32 = 0x20030000;
pub const SRAM2A_BASE_ADDRESS_STM32WB1X: u32 = 0x20003000;
#[cfg(windows)]
pub const PATH_API_LIBRARY_RELATIVE: &str = "api/lib/CubeProgrammer_API.dll";
#[cfg(unix)]
pub const PATH_API_LIBRARY_RELATIVE: &str = "lib/libCubeProgrammer_API.so";
#[cfg(windows)]
pub const PATH_LOADER_DIR_RELATIVE: &str = "bin";
#[cfg(unix)]
pub const PATH_LOADER_DIR_RELATIVE: &str = "bin";