blob: 3276d1465a1a6ec1b0e2e75e8b517de06de0f04d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at https://mozilla.org/MPL/2.0/.
*/
#include <zephyr/bindesc.h>
#include <zephyr/init.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(firmware);
int firmware_log_metadata(void)
{
LOG_INF("App build version: %s", BINDESC_GET_STR(app_build_version));
return 0;
}
SYS_INIT(firmware_log_metadata, APPLICATION, 0);
|