1# Copyright (c) 2023 Würth Elektronik eiSos GmbH & Co. KG 2# SPDX-License-Identifier: Apache-2.0 3 4zephyr_include_directories( 5 . 6 WeSensorsSDK 7) 8 9zephyr_library_sources( 10 weplatform.c 11 weplatform_i2c.c 12 weplatform_spi.c 13) 14 15if(CONFIG_WSEN_HIDS) 16 zephyr_include_directories( 17 WeSensorsSDK/WSEN_HIDS_2523020210001 18 ) 19 zephyr_library_sources( 20 WeSensorsSDK/WSEN_HIDS_2523020210001/WSEN_HIDS_2523020210001.c 21 ) 22endif() 23 24if(CONFIG_WSEN_ISDS) 25 zephyr_include_directories( 26 WeSensorsSDK/WSEN_ISDS_2536030320001 27 ) 28 zephyr_library_sources( 29 WeSensorsSDK/WSEN_ISDS_2536030320001/WSEN_ISDS_2536030320001.c 30 ) 31endif() 32 33if(CONFIG_WSEN_ITDS) 34 zephyr_include_directories( 35 WeSensorsSDK/WSEN_ITDS_2533020201601 36 ) 37 zephyr_library_sources( 38 WeSensorsSDK/WSEN_ITDS_2533020201601/WSEN_ITDS_2533020201601.c 39 ) 40endif() 41 42if(CONFIG_WSEN_PADS) 43 zephyr_include_directories( 44 WeSensorsSDK/WSEN_PADS_2511020213301 45 ) 46 zephyr_library_sources( 47 WeSensorsSDK/WSEN_PADS_2511020213301/WSEN_PADS_2511020213301.c 48 ) 49endif() 50 51if(CONFIG_WSEN_PDUS) 52 zephyr_include_directories( 53 WeSensorsSDK/WSEN_PDUS_25131308XXX01 54 ) 55 zephyr_library_sources( 56 WeSensorsSDK/WSEN_PDUS_25131308XXX01/WSEN_PDUS_25131308XXX01.c 57 ) 58endif() 59 60if(CONFIG_WSEN_TIDS) 61 zephyr_include_directories( 62 WeSensorsSDK/WSEN_TIDS_2521020222501 63 ) 64 zephyr_library_sources( 65 WeSensorsSDK/WSEN_TIDS_2521020222501/WSEN_TIDS_2521020222501.c 66 ) 67endif()