zephyr/drivers/hwinfo/hwinfo_weak_impl.c
Alexander Wachter 5b59c10fc4 drivers: Add hwinfo API
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>
2019-02-03 12:07:20 -05:00

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;
}