rboot.h File Reference
#include <stdint.h>
Include dependency graph for rboot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rboot_config
 Structure containing rBoot configuration. More...
 

Macros

#define CHKSUM_INIT   0xef
 
#define SECTOR_SIZE   0x1000
 
#define BOOT_CONFIG_SECTOR   1
 
#define BOOT_CONFIG_MAGIC   0xe1
 
#define BOOT_CONFIG_VERSION   0x01
 
#define MODE_STANDARD   0x00
 
#define MODE_GPIO_ROM   0x01
 
#define MODE_TEMP_ROM   0x02
 
#define MODE_GPIO_ERASES_SDKCONFIG   0x04
 
#define MODE_GPIO_SKIP   0x08
 
#define RBOOT_RTC_MAGIC   0x2334ae68
 
#define RBOOT_RTC_READ   1
 
#define RBOOT_RTC_WRITE   0
 
#define RBOOT_RTC_ADDR   64
 
#define BOOT_GPIO_NUM   16
 
#define MAX_ROMS   4
 

Macro Definition Documentation

◆ BOOT_CONFIG_MAGIC

#define BOOT_CONFIG_MAGIC   0xe1

◆ BOOT_CONFIG_SECTOR

#define BOOT_CONFIG_SECTOR   1

◆ BOOT_CONFIG_VERSION

#define BOOT_CONFIG_VERSION   0x01

◆ BOOT_GPIO_NUM

#define BOOT_GPIO_NUM   16

◆ CHKSUM_INIT

#define CHKSUM_INIT   0xef

◆ MAX_ROMS

#define MAX_ROMS   4

◆ MODE_GPIO_ERASES_SDKCONFIG

#define MODE_GPIO_ERASES_SDKCONFIG   0x04

◆ MODE_GPIO_ROM

#define MODE_GPIO_ROM   0x01

◆ MODE_GPIO_SKIP

#define MODE_GPIO_SKIP   0x08

◆ MODE_STANDARD

#define MODE_STANDARD   0x00

◆ MODE_TEMP_ROM

#define MODE_TEMP_ROM   0x02

◆ RBOOT_RTC_ADDR

#define RBOOT_RTC_ADDR   64

◆ RBOOT_RTC_MAGIC

#define RBOOT_RTC_MAGIC   0x2334ae68

◆ RBOOT_RTC_READ

#define RBOOT_RTC_READ   1

◆ RBOOT_RTC_WRITE

#define RBOOT_RTC_WRITE   0

◆ SECTOR_SIZE

#define SECTOR_SIZE   0x1000