Go to the documentation of this file.
17 #ifdef RBOOT_INTEGRATION
18 #include <rboot-integration.h>
67 #define CHKSUM_INIT 0xef
69 #define SECTOR_SIZE 0x1000
70 #define BOOT_CONFIG_SECTOR 1
72 #define BOOT_CONFIG_MAGIC 0xe1
73 #define BOOT_CONFIG_VERSION 0x01
75 #define MODE_STANDARD 0x00
76 #define MODE_GPIO_ROM 0x01
77 #define MODE_TEMP_ROM 0x02
78 #define MODE_GPIO_ERASES_SDKCONFIG 0x04
79 #define MODE_GPIO_SKIP 0x08
81 #define RBOOT_RTC_MAGIC 0x2334ae68
82 #define RBOOT_RTC_READ 1
83 #define RBOOT_RTC_WRITE 0
84 #define RBOOT_RTC_ADDR 64
88 #define BOOT_GPIO_NUM 16
114 #ifdef BOOT_CONFIG_CHKSUM
119 #ifdef BOOT_RTC_ENABLED
uint8_t version
Version of configuration structure - should be BOOT_CONFIG_VERSION.
Definition: rboot.h:107
uint8_t mode
Boot loader mode (MODE_STANDARD | MODE_GPIO_ROM | MODE_GPIO_SKIP)
Definition: rboot.h:108
uint8_t gpio_rom
ROM to use for GPIO boot (hardware switch) with mode set to MODE_GPIO_ROM.
Definition: rboot.h:110
#define MAX_ROMS
Definition: rboot.h:92
uint8_t magic
Our magic, identifies rBoot configuration - should be BOOT_CONFIG_MAGIC.
Definition: rboot.h:106
Structure containing rBoot configuration.
Definition: rboot.h:105
uint8_t current_rom
Currently selected ROM (will be used for next standard boot)
Definition: rboot.h:109
uint8_t count
Quantity of ROMs available to boot.
Definition: rboot.h:111