Skip to content

REBOOT_TYPE_* missing from bootrom_constants.h #2619

@amsam0

Description

@amsam0

It seems that the REBOOT_TYPE_* constants are missing. The docs for the rom_reboot function mention them, but they do not exist. There are both the BOOT_TYPE_* constants from bootrom_constants.h and the REBOOT2_FLAG_REBOOT_TYPE_* constants from picoboot_constants.h. It is unclear which should be used (although they seem to have the same value); bootrom.c uses the REBOOT2 constants, but the BOOT_TYPE constants sound more correct and are from the correct header file.

In addition, bootrom_constants.h is missing flags such as NO_RETURN_ON_SUCCESS. This leads me to think that the REBOOT2 constants should actually be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions