1pub mod elf_builder;
8pub mod linker_script;
9pub mod memory_layout;
10pub mod mpu;
11pub mod mpu_allocator;
12pub mod w2c2_wrapper;
13
14pub use elf_builder::{
15 ArmRelocationType, EF_ARM_ABI_FLOAT_HARD, EF_ARM_ABI_FLOAT_SOFT, EF_ARM_EABI_VER5, ElfBuilder,
16 ElfClass, ElfData, ElfMachine, ElfType, ProgramFlags, ProgramHeader, ProgramType, Relocation,
17 Section, SectionFlags, SectionType as ElfSectionType, Symbol, SymbolBinding, SymbolType, aeabi,
18 arm_attributes_section,
19};
20pub use linker_script::{LinkerScriptGenerator, MemoryRegion};
21pub use memory_layout::{MemoryLayout, MemoryLayoutAnalyzer, MemorySection, SectionType};
22pub use mpu::{MPUAttributes, MPUPermissions, MPURegion, MPUSize};
23pub use mpu_allocator::{MPUAllocationRequest, MPUAllocator};
24pub use w2c2_wrapper::{TranspileOptions, TranspileResult, W2C2Backend, W2C2Transpiler};
25
26#[cfg(feature = "arm-cortex-m")]
28pub mod arm_backend;
29#[cfg(feature = "arm-cortex-m")]
30pub mod arm_encoder;
31#[cfg(feature = "arm-cortex-m")]
32pub mod arm_startup;
33#[cfg(feature = "arm-cortex-m")]
34pub mod cortex_m;
35#[cfg(feature = "arm-cortex-m")]
36pub mod reset_handler;
37#[cfg(feature = "arm-cortex-m")]
38pub mod vector_table;
39
40#[cfg(feature = "arm-cortex-m")]
41pub use arm_backend::ArmBackend;
42#[cfg(feature = "arm-cortex-m")]
43pub use arm_encoder::ArmEncoder;
44#[cfg(feature = "arm-cortex-m")]
45pub use arm_startup::ARMStartupGenerator;
46#[cfg(feature = "arm-cortex-m")]
47pub use reset_handler::ResetHandlerGenerator;
48#[cfg(feature = "arm-cortex-m")]
49pub use vector_table::{VectorEntry, VectorTable};