ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
platform_defines.h
Go to the documentation of this file.
1// ProtoCore v1.0.16 - Copyright (C) 2026 Douglas Quigg (dstroy0) <dquigg123@gmail.com>
2// SPDX-License-Identifier: AGPL-3.0-or-later
3
4/**
5 * @file platform_defines.h
6 * @brief Platform defines for the ProtoCore library.
7 *
8 * @author Douglas Quigg (dstroy0)
9 * @date 2026
10 */
11
12// The stored image's state, in the order a rollback walks it. These values are the library's own;
13// each arm maps its vendor's onto them, so a caller reads one set whatever it is running on.
14#define PROTOCORE_PLATFORM_IMG_NEW 0
15#define PROTOCORE_PLATFORM_IMG_PENDING_VERIFY 1
16#define PROTOCORE_PLATFORM_IMG_VALID 2
17#define PROTOCORE_PLATFORM_IMG_INVALID 3
18#define PROTOCORE_PLATFORM_IMG_ABORTED 4
19#define PROTOCORE_PLATFORM_IMG_UNDEFINED 0xFF