1# SPDX-License-Identifier: Apache-2.0 2 3zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/hwinfo.h) 4 5zephyr_library() 6 7zephyr_library_sources_ifdef(CONFIG_USERSPACE hwinfo_handlers.c) 8zephyr_library_sources_ifdef(CONFIG_HWINFO hwinfo_weak_impl.c) 9zephyr_library_sources_ifdef(CONFIG_HWINFO_SHELL hwinfo_shell.c) 10 11zephyr_library_sources_ifdef(CONFIG_HWINFO_CC13XX_CC26XX hwinfo_cc13xx_cc26xx.c) 12zephyr_library_sources_ifdef(CONFIG_HWINFO_ESP32 hwinfo_esp32.c) 13zephyr_library_sources_ifdef(CONFIG_HWINFO_GECKO hwinfo_gecko.c) 14zephyr_library_sources_ifdef(CONFIG_HWINFO_IMXRT hwinfo_imxrt.c) 15zephyr_library_sources_ifdef(CONFIG_HWINFO_LITEX hwinfo_litex.c) 16zephyr_library_sources_ifdef(CONFIG_HWINFO_MCUX_RCM hwinfo_mcux_rcm.c) 17zephyr_library_sources_ifdef(CONFIG_HWINFO_MCUX_SIM hwinfo_mcux_sim.c) 18zephyr_library_sources_ifdef(CONFIG_HWINFO_MCUX_SRC hwinfo_mcux_src.c) 19zephyr_library_sources_ifdef(CONFIG_HWINFO_MCUX_SRC_V2 hwinfo_mcux_src_rev2.c) 20zephyr_library_sources_ifdef(CONFIG_HWINFO_MCUX_SYSCON hwinfo_mcux_syscon.c) 21zephyr_library_sources_ifdef(CONFIG_HWINFO_NRF hwinfo_nrf.c) 22zephyr_library_sources_ifdef(CONFIG_HWINFO_PSOC6 hwinfo_psoc6.c) 23zephyr_library_sources_ifdef(CONFIG_HWINFO_RPI_PICO hwinfo_rpi_pico.c) 24zephyr_library_sources_ifdef(CONFIG_HWINFO_SAM_RSTC hwinfo_sam_rstc.c) 25zephyr_library_sources_ifdef(CONFIG_HWINFO_SAM hwinfo_sam.c) 26zephyr_library_sources_ifdef(CONFIG_HWINFO_SAM0 hwinfo_sam0.c) 27zephyr_library_sources_ifdef(CONFIG_HWINFO_SAM4L hwinfo_sam4l.c) 28zephyr_library_sources_ifdef(CONFIG_HWINFO_STM32 hwinfo_stm32.c) 29zephyr_library_sources_ifdef(CONFIG_HWINFO_ANDES hwinfo_andes.c) 30