5508b17fb4
Binary descriptors are data objects stored at a known location of a binary image. They can be read by an external tool or image, and are used mostly for build information: version, build time, host information, etc. This commit adds initial support for defining such descriptors. Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
14 lines
282 B
Plaintext
14 lines
282 B
Plaintext
/*
|
|
* Copyright (c) 2023 Yonatan Schachter
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/linker/iterable_sections.h>
|
|
#include <zephyr/bindesc.h>
|
|
|
|
SQUAD(BINDESC_MAGIC);
|
|
Z_LINK_ITERABLE(bindesc_entry);
|
|
. = ALIGN(BINDESC_ALIGNMENT);
|
|
LONG(BINDESC_TAG_DESCRIPTORS_END)
|