rp2040_boot2/
lib.rs

1#![no_std]
2
3/// The bootloader to use if you have a W25Q080 flash device
4pub static BOOT_LOADER_W25Q080: [u8; 256] =
5    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_w25q080.padded.bin"));
6
7/// The bootloader to use if you want to copy code to RAM and then boot from RAM
8pub static BOOT_LOADER_RAM_MEMCPY: [u8; 256] =
9    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_ram_memcpy.padded.bin"));
10
11/// The bootloader to use if you want to boot from an AT25SF128A flash device
12pub static BOOT_LOADER_AT25SF128A: [u8; 256] =
13    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_at25sf128a.padded.bin"));
14
15/// The bootloader to use if you want to boot from an GD25Q64CS flash device
16pub static BOOT_LOADER_GD25Q64CS: [u8; 256] =
17    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_gd25q64cs.padded.bin"));
18
19/// The bootloader to use if you want to boot from an W25X10CL flash device
20pub static BOOT_LOADER_W25X10CL: [u8; 256] =
21    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_w25x10cl.padded.bin"));
22
23/// The bootloader to use if you want to boot from a generic flash device
24pub static BOOT_LOADER_GENERIC_03H: [u8; 256] =
25    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_generic_03h.padded.bin"));
26
27/// The bootloader to use if you want to boot from an IS25LP080 flash device
28pub static BOOT_LOADER_IS25LP080: [u8; 256] =
29    *include_bytes!(concat!(env!("OUT_DIR"), "/boot2_is25lp080.padded.bin"));