2018-12-21 18:58:41 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 Alexander Wachter
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2022-05-06 16:25:46 +08:00
|
|
|
#include <zephyr/drivers/hwinfo.h>
|
2018-12-21 18:58:41 +08:00
|
|
|
|
2020-05-28 00:26:57 +08:00
|
|
|
ssize_t __weak z_impl_hwinfo_get_device_id(uint8_t *buffer, size_t length)
|
2018-12-21 18:58:41 +08:00
|
|
|
{
|
2020-05-01 10:32:52 +08:00
|
|
|
return -ENOSYS;
|
|
|
|
}
|
|
|
|
|
|
|
|
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 18:58:41 +08:00
|
|
|
}
|