2018-12-21 11:58:41 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 Alexander Wachter
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2022-05-06 10:25:46 +02:00
|
|
|
#include <zephyr/drivers/hwinfo.h>
|
2018-12-21 11:58:41 +01:00
|
|
|
|
2020-05-27 11:26:57 -05:00
|
|
|
ssize_t __weak z_impl_hwinfo_get_device_id(uint8_t *buffer, size_t length)
|
2018-12-21 11:58:41 +01:00
|
|
|
{
|
2020-04-30 22:32:52 -04:00
|
|
|
return -ENOSYS;
|
|
|
|
}
|
|
|
|
|
2024-04-28 21:00:55 +02:00
|
|
|
int __weak z_impl_hwinfo_get_device_eui64(uint8_t *buffer)
|
|
|
|
{
|
|
|
|
return -ENOSYS;
|
|
|
|
}
|
|
|
|
|
2020-04-30 22:32:52 -04:00
|
|
|
int __weak z_impl_hwinfo_get_reset_cause(uint32_t *cause)
|
|
|
|
{
|
|
|
|
return -ENOSYS;
|
|
|
|
}
|
|
|
|
|
|
|
|
int __weak z_impl_hwinfo_clear_reset_cause(void)
|
|
|
|
{
|
|
|
|
return -ENOSYS;
|
|
|
|
}
|
|
|
|
|
|
|
|
int __weak z_impl_hwinfo_get_supported_reset_cause(uint32_t *supported)
|
|
|
|
{
|
|
|
|
return -ENOSYS;
|
2018-12-21 11:58:41 +01:00
|
|
|
}
|