STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
esp_partition.h
Go to the documentation of this file.
1
// Stub: esp_partition.h — for native tests
2
#pragma once
3
#include <cstdint>
4
5
typedef
struct
{
6
uint32_t
address
;
7
uint32_t
size
;
8
}
esp_partition_t
;
9
10
#define ESP_OK 0
11
12
inline
const
esp_partition_t
*
esp_ota_get_running_partition
() {
13
static
esp_partition_t
p
= {0, 0};
14
return
&
p
;
15
}
16
17
inline
int
esp_partition_get_sha256
(
const
esp_partition_t
*, uint8_t* out) {
18
memset(out, 0, 32);
19
return
ESP_OK
;
20
}
esp_ota_get_running_partition
const esp_partition_t * esp_ota_get_running_partition()
Definition
esp_partition.h:12
esp_partition_get_sha256
int esp_partition_get_sha256(const esp_partition_t *, uint8_t *out)
Definition
esp_partition.h:17
ESP_OK
#define ESP_OK
Definition
esp_partition.h:10
p
int32_t p
Definition
flight_e2e.c:78
esp_partition_t
Definition
esp_partition.h:5
esp_partition_t::address
uint32_t address
Definition
esp_partition.h:6
esp_partition_t::size
uint32_t size
Definition
esp_partition.h:7
firmware
Hotfire_Code
Hotfire_Tests
stubs
esp_partition.h
Generated by
1.15.0