14// PICO_CONFIG: PICO_BUILD_BOOT_STAGE2_NAME, The name of the boot stage 2 if selected by the build, group=boot_stage2
15#ifdef PICO_BUILD_BOOT_STAGE2_NAME
16 #define _BOOT_STAGE2_SELECTED
17#else
18// check that multiple boot stage 2 options haven't been set...
19
20// PICO_CONFIG: PICO_BOOT_STAGE2_CHOOSE_IS25LP080, Select boot2_is25lp080 as the boot stage 2 when no boot stage 2 selection is made by the CMake build, type=bool, default=0, group=boot_stage2
21#ifndef PICO_BOOT_STAGE2_CHOOSE_IS25LP080
22 #define PICO_BOOT_STAGE2_CHOOSE_IS25LP080 0
23#elif PICO_BOOT_STAGE2_CHOOSE_IS25LP080
24 #ifdef _BOOT_STAGE2_SELECTED
25 #error multiple boot stage 2 options chosen
26 #endif
27 #define _BOOT_STAGE2_SELECTED
28#endif
29// PICO_CONFIG: PICO_BOOT_STAGE2_CHOOSE_W25Q080, Select boot2_w25q080 as the boot stage 2 when no boot stage 2 selection is made by the CMake build, type=bool, default=0, group=boot_stage2
30#ifndef PICO_BOOT_STAGE2_CHOOSE_W25Q080
31 #define PICO_BOOT_STAGE2_CHOOSE_W25Q080 0
32#elif PICO_BOOT_STAGE2_CHOOSE_W25Q080
33 #ifdef _BOOT_STAGE2_SELECTED
34 #error multiple boot stage 2 options chosen
35 #endif
36 #define _BOOT_STAGE2_SELECTED
37#endif
38// PICO_CONFIG: PICO_BOOT_STAGE2_CHOOSE_W25X10CL, Select boot2_w25x10cl as the boot stage 2 when no boot stage 2 selection is made by the CMake build, type=bool, default=0, group=boot_stage2
39#ifndef PICO_BOOT_STAGE2_CHOOSE_W25X10CL
40 #define PICO_BOOT_STAGE2_CHOOSE_W25X10CL 0
41#elif PICO_BOOT_STAGE2_CHOOSE_W25X10CL
42 #ifdef _BOOT_STAGE2_SELECTED
43 #error multiple boot stage 2 options chosen
44 #endif
45 #define _BOOT_STAGE2_SELECTED
46#endif
47// PICO_CONFIG: PICO_BOOT_STAGE2_CHOOSE_AT25SF128A, Select boot2_at25sf128a as the boot stage 2 when no boot stage 2 selection is made by the CMake build, type=bool, default=0, group=boot_stage2
48#ifndef PICO_BOOT_STAGE2_CHOOSE_AT25SF128A
49 #define PICO_BOOT_STAGE2_CHOOSE_AT25SF128A 0
50#elif PICO_BOOT_STAGE2_CHOOSE_AT25SF128A
51 #ifdef _BOOT_STAGE2_SELECTED
52 #error multiple boot stage 2 options chosen
53 #endif
54 #define _BOOT_STAGE2_SELECTED
55#endif
56
57// PICO_CONFIG: PICO_BOOT_STAGE2_CHOOSE_GENERIC_03H, Select boot2_generic_03h as the boot stage 2 when no boot stage 2 selection is made by the CMake build, type=bool, default=1, group=boot_stage2