1 /* 2 * Copyright (c) 2018 Alexander Wachter 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/drivers/hwinfo.h> 8 z_impl_hwinfo_get_device_id(uint8_t * buffer,size_t length)9ssize_t __weak z_impl_hwinfo_get_device_id(uint8_t *buffer, size_t length) 10 { 11 return -ENOSYS; 12 } 13 z_impl_hwinfo_get_reset_cause(uint32_t * cause)14int __weak z_impl_hwinfo_get_reset_cause(uint32_t *cause) 15 { 16 return -ENOSYS; 17 } 18 z_impl_hwinfo_clear_reset_cause(void)19int __weak z_impl_hwinfo_clear_reset_cause(void) 20 { 21 return -ENOSYS; 22 } 23 z_impl_hwinfo_get_supported_reset_cause(uint32_t * supported)24int __weak z_impl_hwinfo_get_supported_reset_cause(uint32_t *supported) 25 { 26 return -ENOSYS; 27 } 28