File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212// note these match REBOOT_TYPE in pico/bootrom_constants.h
1313// values 0-7 are secure/non-secure
1414#define REBOOT2_FLAG_REBOOT_TYPE_NORMAL 0x0 // param0 = diagnostic partition
15- #define REBOOT2_FLAG_REBOOT_TYPE_BOOTSEL 0x2 // param0 = bootsel_flags , param1 = gpio_config
16- #define REBOOT2_FLAG_REBOOT_TYPE_RAM_IMAGE 0x3 // param0 = image_base , param1 = image_end
15+ #define REBOOT2_FLAG_REBOOT_TYPE_BOOTSEL 0x2 // param0 = gpio_pin_number , param1 = flags
16+ #define REBOOT2_FLAG_REBOOT_TYPE_RAM_IMAGE 0x3 // param0 = image_regio_base , param1 = image_region_size
1717#define REBOOT2_FLAG_REBOOT_TYPE_FLASH_UPDATE 0x4 // param0 = update_base
1818
1919// values 8-15 are secure only
3939#define UF2_STATUS_ABORT_BAD_ADDRESS 0x20
4040#define UF2_STATUS_ABORT_WRITE_ERROR 0x40
4141#define UF2_STATUS_ABORT_REBOOT_FAILED 0x80
42- #endif
42+ #endif
You can’t perform that action at this time.
0 commit comments