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,
18};
19pub use linker_script::{LinkerScriptGenerator, MemoryRegion};
20pub use memory_layout::{MemoryLayout, MemoryLayoutAnalyzer, MemorySection, SectionType};
21pub use mpu::{MPUAttributes, MPUPermissions, MPURegion, MPUSize};
22pub use mpu_allocator::{MPUAllocationRequest, MPUAllocator};
23pub use w2c2_wrapper::{TranspileOptions, TranspileResult, W2C2Backend, W2C2Transpiler};
24
25#[cfg(feature = "arm-cortex-m")]
27pub mod arm_backend;
28#[cfg(feature = "arm-cortex-m")]
29pub mod arm_encoder;
30#[cfg(feature = "arm-cortex-m")]
31pub mod arm_startup;
32#[cfg(feature = "arm-cortex-m")]
33pub mod cortex_m;
34#[cfg(feature = "arm-cortex-m")]
35pub mod reset_handler;
36#[cfg(feature = "arm-cortex-m")]
37pub mod vector_table;
38
39#[cfg(feature = "arm-cortex-m")]
40pub use arm_backend::ArmBackend;
41#[cfg(feature = "arm-cortex-m")]
42pub use arm_encoder::ArmEncoder;
43#[cfg(feature = "arm-cortex-m")]
44pub use arm_startup::ARMStartupGenerator;
45#[cfg(feature = "arm-cortex-m")]
46pub use reset_handler::ResetHandlerGenerator;
47#[cfg(feature = "arm-cortex-m")]
48pub use vector_table::{VectorEntry, VectorTable};