mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 02:33:18 +00:00
This commit adds a new hardware info API. With this API it is possible to read out the device ID. Signed-off-by: Alexander Wachter <alexander.wachter@student.tugraz.at>
13 lines
204 B
C
13 lines
204 B
C
/*
|
|
* Copyright (c) 2018 Alexander Wachter
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <hwinfo.h>
|
|
|
|
ssize_t __weak _impl_hwinfo_get_device_id(u8_t *buffer, size_t length)
|
|
{
|
|
return -ENOTSUP;
|
|
}
|