Zephyr Project API
3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
blinfo.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
#ifndef ZEPHYR_INCLUDE_RETENTION_BLINFO_
13
#define ZEPHYR_INCLUDE_RETENTION_BLINFO_
14
15
#include <
stdint.h
>
16
#include <stddef.h>
17
#include <
zephyr/kernel.h
>
18
19
#if defined(CONFIG_RETENTION_BOOTLOADER_INFO_TYPE_MCUBOOT)
20
#include <bootutil/boot_status.h>
21
#endif
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
36
#if defined(CONFIG_RETENTION_BOOTLOADER_INFO_OUTPUT_FUNCTION) || defined(__DOXYGEN__)
49
int
blinfo_lookup
(
uint16_t
key
,
char
*val,
int
val_len_max);
50
#endif
51
56
#ifdef __cplusplus
57
}
58
#endif
59
60
#endif
/* ZEPHYR_INCLUDE_RETENTION_BLINFO_ */
blinfo_lookup
int blinfo_lookup(uint16_t key, char *val, int val_len_max)
Returns bootinfo information.
kernel.h
Public kernel APIs.
key
static k_spinlock_key_t key
Definition
spinlock_error_case.c:15
stdint.h
uint16_t
__UINT16_TYPE__ uint16_t
Definition
stdint.h:89
include
zephyr
retention
blinfo.h
Generated on Sun Sep 15 2024 17:01:30 for Zephyr Project API by
1.9.8