1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#![no_std]

/// The bootloader to use if you have a W25Q080 flash device
pub static BOOT_LOADER_W25Q080: [u8; 256] =
    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_w25q080.padded.bin"));

/// The bootloader to use if you want to copy code to RAM and then boot from RAM
pub static BOOT_LOADER_RAM_MEMCPY: [u8; 256] =
    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_ram_memcpy.padded.bin"));

/// The bootloader to use if you want to boot from an AT25SF128A flash device
pub static BOOT_LOADER_AT25SF128A: [u8; 256] =
    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_at25sf128a.padded.bin"));

/// The bootloader to use if you want to boot from an GD25Q64CS flash device
pub static BOOT_LOADER_GD25Q64CS: [u8; 256] =
    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_gd25q64cs.padded.bin"));

/// The bootloader to use if you want to boot from an W25X10CL flash device
pub static BOOT_LOADER_W25X10CL: [u8; 256] =
    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_w25x10cl.padded.bin"));

/// The bootloader to use if you want to boot from a generic flash device
pub static BOOT_LOADER_GENERIC_03H: [u8; 256] =
    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_generic_03h.padded.bin"));

/// The bootloader to use if you want to boot from an IS25LP080 flash device
pub static BOOT_LOADER_IS25LP080: [u8; 256] =
    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_is25lp080.padded.bin"));